dhis2-users team mailing list archive
Mailing list archive
Re: Help needed: Assigning current date to a data element...
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.
Please see *Table 21.14. Standard variables to use in program rule
>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.
Global Alliance for Rabies Control (GARC)
Pan-African Rabies Control Network (PARACON) Steering Committee
On Tue, Oct 30, 2018 at 12:11 PM M.Selvaraaj Prabu <msp.cbe@xxxxxxxxx>
> 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
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help : https://help.launchpad.net/ListHelp