dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #50904
Re: [Dhis2-users] Substract Days in program Rules
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.hakim@xxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help : https://help.launchpad.net/ListHelp
>
>
Follow ups
References