Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Borland C++ 2.x ( with Turbo C ) - <b>getdate() get date</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 getdate()               Get Date

 #include   <dos.h>

 void         getdate(dateblk);
 struct date  *dateblk;                           Pointer to date structure

    getdate() gets the system's current date and fills in the 'date'
    structure which is pointed to by 'dateblk'.  The 'date' structure is
    defined as:

          struct date  {
               int da_year;             /* Current year */
               char da_day;             /* Day of the month */
               char da_mon;             /* Month (1 = Jan) */
          };

       Returns:     Nothing

   Portability:     MS-DOS only.


See Also: ctime() gettime() setdate() settime()

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