[Dhis2-devs] Getting Current Date using D2

2018-03-24 Thread simon mugisa
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: nomisrmu

Re: [Dhis2-devs] Getting Current Date using D2

2018-03-24 Thread Edouard Lavaud
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-2