Thank you very much Mr.Terence🙏 for pointing to the right direction. It worked.😁
Thanks and regards MSP On Tue, Oct 30, 2018 at 12:39 PM Terence Scott < terence.sc...@rabiesalliance.org> wrote: > Dear MSP > > I am not sure if you are aware, but see the following documentation for > the codes used to create the "current date" in the program rule. > > https://docs.dhis2.org/2.30/en/user/html/configure_program_rule.html > > Please see *Table 21.14. Standard variables to use in program rule > expressions * > > From what I am aware, these variables are applicable to past versions also > (therefore should work for 2.29 and 2.28 as I have used them in 2.28). > > I hope this helps. > > Kind regards, > Terence > > Terence Scott > > Global Alliance for Rabies Control (GARC) > Pan-African Rabies Control Network (PARACON) Steering Committee > terence.sc...@rabiesalliance.org > https://paracon.rabiesalliance.org > Skype: tpscott1987 > > > > On Tue, Oct 30, 2018 at 12:11 PM M.Selvaraaj Prabu <msp....@gmail.com> > wrote: > >> Hi all, >> >> I am Selvaraj Muthusamy from PCI, Botswana. We have customised DHIS2 >> (2.29) to manage our OVC database. We are using Tracker App to capture the >> individual case management. >> >> We have a field (data element) called "Data entered on" and this has to >> be the current date and time. I created a data element "Data entered on" as >> "Date" type. Now I want to assign the current date and time automatically >> to this field when the form is opened. Unfortunately, I am failing to set >> this up through a program rule. I could not find a function or system >> variable to use for this purpose. >> >> Any help is highly appreciated. >> >> Thanks and regards >> >> MSP >> _______________________________________________ >> Mailing list: https://launchpad.net/~dhis2-users >> Post to : dhis2-us...@lists.launchpad.net >> Unsubscribe : https://launchpad.net/~dhis2-users >> More help : https://help.launchpad.net/ListHelp >> >
_______________________________________________ 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