qck.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.
DATE$ Function, DATE$ Statement
  Summary  Details  Example                Contents  Index  Back
──────────────────────────────────────────────────────────────────────────────
 Returns the computer's current system date (DATE$ function - no parameters),
 or sets the current system date (DATE$ statement).
 
    DATE$[ = stringexpression$]
 
    ■ stringexpression$    Date expression in a valid format and range
                           (leading zeros may be omitted):
 
                           Format
                           ═════════════════════════════════════════════════
                           mm/dd/yy
                           mm/dd/yyyy
                           mm-dd-yy
                           mm-dd-yyyy (returned by the DATE$ function)
 
                           Ranges
                           (Inclusive)   Valid for
                           ═══════════   ═══════════════════════════════════
                           01 - 12       mm (month)
                           01 - 31       dd (day)
                           1980 - 2099   yy or yyyy (year)
 
 See Also
    Date and Time Command Summary    FORMAT$ Function