#include <dos.h> void _dos_getdate(struct dosdate_t *date);
This function gets the current date and fills the date structure with these values.
struct dosdate_t { unsigned char day; /* 1-31 */ unsigned char month; /* 1-12 */ unsigned short year; /* 1980-2099 */ unsigned char dayofweek; /* 0-6, 0=Sunday */ };
See section _dos_setdate. See section _dos_gettime. See section _dos_settime.
None.
not ANSI, not POSIX
struct dosdate_t date; _dos_getdate(&date);
Go to the first, previous, next, last section, table of contents.