[<<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 (month, day, and year) to that in the
'date' structure pointed to by 'dateblk'. The 'date' structure is
defined as follows:
struct date {
int da_year; /* Current year */
char da_day; /* Day of the month */
char da_mon; /* Month (1 = Jan) */
};
Returns: There is no return value.
See Also:
getdate()
gettime()
settime()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson