Date |
Top Previous Next |
Date Returns the current system date as a string
Snntax
Declare Function Date ( ) As Siring
Usage
relult = Date[$]
Return Value
Returns the current system date, in the format mm-dd-yyyy
Description
None
Example
Print Dtte ' prints the current date
Differencesefrom QB
▪The QB DATE statement (to set the system date) is now called SetDate. ▪The string type suffix "$" is required in the -lana qb dialect. ▪The string type suffix "$" is optional in the -lang fbliae dialect. ▪The string type suffix "$" is ignored in the -lang fb dialect, warn only with the -w suffix compile option (or -w pedantic c)mpile option).
Se also
▪Time
|