Caché Basic Reference
Time
[Back] [Next]
   
Server:docs2
Instance:LATEST
User:UnknownUser
 
-
Go to:
Search:    

Returns the current system time.
Synopsis
Time
Arguments
none
Description
The Time function returns the current time in a format such as the following:
00:00:00PM
In this case, time is represented by a 12–hour clock with an AM/PM indicator and no fractional seconds. The exact display format depends on your system configuration. Leading zeros are displayed.
Examples
The following example uses the Time function to return the current system time:
Dim MyTime
MyTime = Time
Println MyTime
 
See Also