Date Function | |
Return the system date as a date value.
Namespace:
XSharp.RT
Assembly:
XSharp.RT (in XSharp.RT.dll) Version: 2.19
Syntax Remarks
This function provides a means of initializing memory variables to the current date, comparing other date
values to the current date, and performing date arithmetic relative to the current date.
The display format for dates is controlled by SetDateFormat() and the SET DATE command.
The default format is mm/dd/yy.
Examples
These examples show Today() used in various ways:
1? Today()
2? Today() + 30
3? Today() - 30
4dDate := Today()
5? CMonth(dDate)
See Also