DosGetDateTime: Difference between revisions
Appearance
No edit summary |
|||
Line 5: | Line 5: | ||
=== Parameters === | === Parameters === | ||
; pdtm - [[OS2 API:DataType:PDATETIME|PDATETIME]] - input : | ; pdtm - [[OS2 API:DataType:PDATETIME|PDATETIME]] - input : | ||
pointer to a structure where the date and time information is to be stored. | pointer to a [[OS2 API:DataType:DATETIME|DATETIME]] structure where the date and time information is to be stored. | ||
=== Constants === | === Constants === |
Revision as of 15:09, 29 April 2005
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