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>setdate() set ms-dos date</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 setdate()               Set MS-DOS Date

 #include   <dos.h>

 void         setdate(dateblk);
 struct date  *dateblk;

    setdate() sets the system date to the month, day, and year in the
    'date' structure. The 'date' structure is defined as follows and is
    pointed to by 'dateblk'.

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

       Returns:     Nothing

   Portability:     MS-DOS only.


See Also: getdate() gettime() settime()

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