Hi Djibril,

You can actually use the d2 adddays function to substract days.
Just use a negative number.
For example d2:addDays(V{current_date}, -3) will return the date three days ago.

Best,

Edouard

2018-03-18 21:12 UTC+02:00, DJIBRIL Hakim <djib.ha...@gmail.com>:
> Hi,
> PLEASE how to do a substract Days from a date in program Rule, The resultat
> must be a date of course , I saw in documentation a D2:addDays() function.
> is there another for substractDays. if not what is the work around.
> Best.
>


-- 
*Edouard Lavaud, *



*MSc in Health Policy, Planning & FinancingMEng in
TelecommunicationUniversity Diploma in ICT for Health*
*Email:* edouard.lav...@gmail.com
*Mobile:* 0033 6 7210 23 59

_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to     : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp

Reply via email to