◄Contents► ◄Index►
──────────────────────────────────────────────────────────────────────────────
The DATE$ function returns the computer's current system date.
The DATE$ statement sets the current system date on your computer.
DATE$
DATE$ = stringexpression$
■ stringexpression$ The date in one of the following forms:
mm-dd-yy, mm-dd-yyyy, mm/dd/yy, mm/dd/yyyy.
■ The DATE$ function returns a string in the form mm-dd-yyyy.
Example:
PRINT DATE$
DATE$ = "01-01-90" 'Note: The new system date remains in effect until
' you change it again.
PRINT "Date set to "; DATE$
See Also ◄TIME$►
──────────────────────────────────────────────────────────────────────────────
© Copyright Microsoft Corporation, 1987-1992. All rights reserved.
Converted from qbasic.hlp with DosHelp/HelpConvert