Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Zortech C++ Language Reference - dos_getdate http://www.X-Hacker.org [<<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
   {
   charday;
   /* day of month(1-31) */
   charmonth;
   /* month (1-12) */
   intyear;
   /* year (1980-2099) */
   chardayofweek;
   /* day of week (0 = Sunday) */
   }
   Example
   see dos_setdate


See Also: DOS_Package dos_setdate dos_settime dos_gettime

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