FreeBASIC  0.91.0
time_setdate.c
Go to the documentation of this file.
1 #include "../fb.h"
2 #include <dos.h>
3 
4 int fb_hSetDate( int y, int m, int d )
5 {
6  struct date dt;
7  dt.da_year = y;
8  dt.da_mon = m;
9  dt.da_day = d;
10  setdate(&dt);
11  return 0;
12 }