
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Zortech C++ 3.0r4 - <b>dos_getdate</b>
[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
dos_getdate
Usage
#include <dos.h>
void dos_getdate(struct dos_date_t *date):
Description
Obtains the current system date via a call to DOS function 0x2a (42) and
places it in the structure pointed to by date. The format of this
structure is as follows:
struct dos_date_t
{
char day; /* day of month(1-31) */
char month; /* month (1-12) */
int year; /* year (1980-2099) */
char dayofweek; /* day of week (0=Sunday) */
}
Example
See dos_setdate
See Also
DOS package, dos_setdate, dos_settime dos_gettime
See Also: dos_setdate dos_settime dos_gettime
Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson