DosGetDateTime

DosGetDateTime gets the current date and time.

Syntax
DosGetDateTime ( pdtm )

Parameters

 * pdtm - PDATETIME - input: Pointer to a DATETIME structure where the date and time information is to be stored.

Returns
This function returns an APIRET with no values. APIRET rc 0       NO_ERROR

Define (C/C++)

 * 1) define INCL_DOSDATETIME
 * 2) include 

Export name/Ordinal
DOSCALLS.DLL 230.

Gotchas
The sign of the time zone is opposed to that ordinary used. Ie GMT+1 (Western Europe) <=> -60

Related Functions

 * DosSetDateTime