The DATE$ statement is used to set or retrieve the current date.
Syntax
DATE$ (as a statement)
V $ = DATE$ (as a variable)
Where ,
Syntax
DATE$ (as a statement)
V $ = DATE$ (as a variable)
Where ,
- V$ is a valid string or variable.
- V$ can be any of the following format when assigning the date.
mm / dd / yy
mm - dd - yyyy
mm / dd / yyyy
- The Current date is assigned to the string variable if DATE$ is the expression in the LET OR PRINT statement.
iF V $ = DATE $ , it returns a 10 - character string in the form
mm - dd -yyyy
Where ,
mm : Month (01 to 12)
dd : day (01 to 31)
yy : Year (1980 to 2099)
V $ = DATE $
Ok
PRINT V $
07 - 27 -1996
Ok
No comments:
Post a Comment