ObjectDB ObjectDB

getServerDate() - JDO PersistenceManager's method

Method
javax.jdo.PersistenceManager
Date getServerDate()

Get the Date as seen by the server. Clients using this method can order their operations according to a single time source. Implementations use the setting of the server time zone to prepare a Date instance that represents UTC time on the server.
Returns:
a Date instance corresponding to the UTC Date as seen by the server
Since:
JDO 2.1