C Language and Libraries Help (clang.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
_dos_setdate
 Summary Example                         Up Contents Index Back
─────Run-Time Library───────────────────────────────────────────────────────
 
     The _dos_setdate routine uses system call 0x2B to set the current
     system date. The date is stored in the _dosdate_t structure
     (defined in DOS.H) pointed to by <date>.
 
     Return Value
 
     If successful, the function returns 0. Otherwise, it returns a
     nonzero value and sets errno to EINVAL, indicating that an invalid
     date was specified.
                                    -♦-