Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- libc - <b>_dos_getdate</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
_dos_getdate
============

Syntax
------

     #include <dos.h>
     
     void _dos_getdate(struct dosdate_t *date);

Description
-----------

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 */
     };

_dos_setdate:. _dos_gettime:. _dos_settime:.         

Return Value
------------

None.

Example
-------

     struct dosdate_t date;
     
     _dos_getdate(&date);


See Also: _dos_setdate _dos_gettime _dos_settime

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson