Hi Simon, Take a look at this table: https://docs.dhis2.org/master/en/user/html/configure_program_rule.html#d0e30437 These are some standard variables you can use in the program rules expression. Including V{current_date} and an example using the d2:daysBetween function.
Best, Edouard 2018-03-24 10:13 GMT+02:00 simon mugisa <nomisrmug...@gmail.com>: > Dear Developers, > > Does anybody know how to reference the current date for comparison using > the d2:daysBetween function etc. > > regards, > > *Simon Robert Kununka* > *DHIS2 implementor, Systems Analyst and Development Consultant* > > Uganda-Kampala > Direct: + <%2B1-703-667-3954>256-777-108-323 > E-mail: nomisrmug...@gmail.com > > > "Don't wish it was easier, wish you were better. Don't wish for less > problems, wish for more skills. Don't wish for less change , wish for more > wisdom." > > *This message and its attachments are confidential and solely for the > intended recipients. If received in error, please delete them and notify > the sender via reply e-mail immediately.* > > > > > > > _______________________________________________ > 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 > > -- *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