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►