Sets the current date and time.
#define INCL_DOSDATETIME #include <os2.h> PDATETIME pdt; APIRET ulrc; /* Return Code. */ ulrc = DosSetDateTime(pdt);