GetCurrentDateTime

int GetCurrentDateTime (double *outputDateTime);

Purpose

Gets the current date/time. This function outputs the number of seconds since midnight, January 1, 1900. You can use this output as an input to FormatDateTimeString and GetDateTimeElements.

Parameters

Output
Name Type Description
outputDateTime double-precision The number of seconds from midnight, January 1, 1900 to the current date/time.

Return Value

Name Type Description
status integer Return value indicating whether the function was successful. A negative number indicates that an error occurred.

Code Error Message String
xx Success