Re: [Dhis2-users] Substract Days in program Rules

2018-03-18 Thread DJIBRIL Hakim
Thank you guys for this quick reply. I really appreciate it 2018-03-18 19:32 GMT+00:00 Aaron C White : > 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

Re: [Dhis2-users] Substract Days in program Rules

2018-03-18 Thread Aaron C White
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,

[Dhis2-users] Substract Days in program Rules

2018-03-18 Thread DJIBRIL Hakim
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: