Server Time in DHIS2?

Hi all,

Is there anywhere within DHIS2 that one can enquire/check what the current time is on the server? And, as a follow-up: that would presumably be the Web Server (i.e. the system hosting Tomcat) – but, what about the Db Server?

And, lastly: would DHIS2 store dates/times based on the Web Server or the Db Server for audit purposes, and does it check that the two are synchronised?

Kind Regards,

Jason Phillips

hisp

Software & Information Systems**
Health Information Systems Program**-------------------------------------------------------------

eMail:

jason@hisp.org

Landline:

+27 21 712 0170

Mobile:

+27 72 973 7250

Skype:

jason.n.phillips

This message and any attachments are subject to a disclaimer published at http://www.hisp.org/policies.html#comms_disclaimer. Please read the disclaimer before opening any attachment or taking any other action in terms of this electronic transmission.
If you cannot access the disclaimer, kindly send an email to disclaimer@hisp.org and a copy will be provided to you. By replying to this e-mail or opening any attachment you agree to be bound by the provisions of the disclaimer.

Hi Jason,

yes: https://www.dhis2.org/doc/snapshot/en/developer/html/ch01s27.html#d5e3524

Lars

image

···

On Fri, Feb 13, 2015 at 1:22 PM, Jason Phillips jason@hisp.org wrote:

Hi all,

Is there anywhere within DHIS2 that one can enquire/check what the current time is on the server? And, as a follow-up: that would presumably be the Web Server (i.e. the system hosting Tomcat) – but, what about the Db Server?

And, lastly: would DHIS2 store dates/times based on the Web Server or the Db Server for audit purposes, and does it check that the two are synchronised?

Kind Regards,

Jason Phillips

Software & Information Systems**
Health Information Systems Program**-------------------------------------------------------------

eMail:

jason@hisp.org

Landline:

+27 21 712 0170

Mobile:

+27 72 973 7250

Skype:

jason.n.phillips

This message and any attachments are subject to a disclaimer published at http://www.hisp.org/policies.html#comms_disclaimer. Please read the disclaimer before opening any attachment or taking any other action in terms of this electronic transmission.
If you cannot access the disclaimer, kindly send an email to disclaimer@hisp.org and a copy will be provided to you. By replying to this e-mail or opening any attachment you agree to be bound by the provisions of the disclaimer.


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

The "created" and "lastUpdated" values for meta-data and data is saved
using the server time.

Lars

HTTP origin servers will include a ‘Date’ field in a response (which gives you the server time of the HTTP server itself on message generation).

···

2015-02-13 13:37 GMT+01:00 Lars Helge Øverland larshelge@gmail.com:


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

The “created” and “lastUpdated” values for meta-data and data is saved using the server time.

Lars