← Back to team overview

dhis2-devs team mailing list archive

Re: Substract Days in program Rules

 

Add negative days

Alex

On Sunday, March 18, 2018, 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.
>


-- 
Alex Tumwesigye

Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

IT Consultant (Servers, Networks and Security, Health Information Systems -
DHIS2, Disease Outbreak & Surveillance Systems) & Solar Consultant


"I don't want to be anything other than what I have been - one tree hill "

References