FreeBASIC  0.91.0
time_dateset.c File Reference
#include "fb.h"
#include <ctype.h>
Include dependency graph for time_dateset.c:

Go to the source code of this file.

Functions

FBCALL int fb_SetDate (FBSTRING *date)
 Sets the date to the specified value. More...
 

Function Documentation

FBCALL int fb_SetDate ( FBSTRING date)

Sets the date to the specified value.

Valid formats:

  • mm/dd/yy
  • mm/dd/yyyy
  • mm-dd-yy
  • mm-dd-yyyy

VBDOS converts a 2-digit year by adding 1900.

See Also
fb_Date()

Definition at line 18 of file time_dateset.c.

Here is the call graph for this function: