DosGetDateTime: Difference between revisions
Appearance
m formatting |
mNo edit summary |
||
Line 38: | Line 38: | ||
=== OS Version Introduced === | === OS Version Introduced === | ||
OS/2 1.x | OS/2 1.x | ||
[[Category:The OS/2 API Project]] |
Revision as of 23:32, 28 October 2011
DosGetDateTime
- DosGetDateTime(pdtm)
- Get the current date and time.
Parameters
- pdtm - PDATETIME - input
- Pointer to a DATETIME structure where the date and time information is to be stored.
Constants
Returns
This function returns an APIRET with no values.
Module
Define (C/C++)
#define INCL_DOSDATETIME #include <os2.h>
Export name/Ordinal
DosGetDateTime. DOSCALLS.DLL 230.
Calling conversion
Example Code
... PDATETIME pdtm; DATETIME dtm; APIRET rc; ... pdtm = &dtm; rc = DosGetDateTime (pdtm); ...
Related Functions
OS Version Introduced
OS/2 1.x