Home » JDO » PersistenceManager » getServerDate() - JDO PersistenceManager's method

getServerDate() - JDO PersistenceManager's method

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.
a Date instance corresponding to the UTC Date as seen by the server
JDO 2.1

This documentation page is derived (with some adjustments) from the JDO 2.2 API
and is available under the terms of the Apache License, v. 2.0.