delorie.com/djgpp/doc/libc/libc_168.html | search |
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
#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.
ANSI/ISO C | No |
POSIX | No |
struct dosdate_t date; _dos_getdate(&date); |
webmaster | delorie software privacy |
Copyright © 2004 | Updated Apr 2004 |