Caché Basic Reference
Date
[Home] [Back] [Next]
InterSystems: The power behind what matters   
Class Reference   
Search:    

Returns the current system date.
Synopsis
Date
Arguments
none
Description
The Date function returns the current date in a format such as the following:
mm/dd/yyyy
The exact display format depends on your system configuration. Leading zeros are displayed. The year is displayed as four digits.
Examples
The following example uses the Date function to return the current system date:
Dim MyDate
MyDate = Date
Println MyDate
 
See Also