Djibril, What if you use a negative value in d2:addDays()? Something liked d2:addDays(your_date, -10).
I haven't used that specific function, but I imagine it will accomplish what you're looking for with a date returned. Aaron -- Aaron C. White 919.522.5585 On Sun, Mar 18, 2018 at 3:12 PM, DJIBRIL Hakim <djib.ha...@gmail.com> wrote: > 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. > > _______________________________________________ > Mailing list: https://launchpad.net/~dhis2-users > Post to : dhis2-users@lists.launchpad.net > Unsubscribe : https://launchpad.net/~dhis2-users > More help : https://help.launchpad.net/ListHelp > >
_______________________________________________ Mailing list: https://launchpad.net/~dhis2-users Post to : dhis2-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~dhis2-users More help : https://help.launchpad.net/ListHelp