Icon GetServerUTCDateTime Method

function GetServerUTCDateTime: TDateTime

Usage

Call the GetServerUTCDateTime method to retrieve the universal coordinate date and time from a database server. This is especially useful if you are accessing a database server in a different time zone and wish to get the date and time in a standard format that doesn't need to take into account the local server time offset.

Information This method is only valid when the engine is running as a database server and the EngineType is set to etServer.
Image