| www.delorie.com/djgpp/doc/libc-2.01/libc_135.html | search |
#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.
struct dosdate_t date; _dos_getdate(&date);
Go to the first, previous, next, last section, table of contents.
| prev next webmaster | delorie software privacy |
| Copyright © 1997 | Updated Apr 1997 |