4D v16.3Current time |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v16.3
Current time
Current time
The Current time command returns the current time from the system clock. The current time is always between 00:00:00 and 23:59:59. Use String or Time string to obtain the string form of the time expression returned by Current time. 4D Server: If you use the asterisk (*) parameter when executing this function on a 4D Client machine, it returns the current time from the server. The following example shows you how to time the length of an operation. Here, LongOperation is a method that needs to be timed: $vhStartTime:=Current time ` Save the start time The following example extracts the hours, minutes, and seconds from the current time: $vhNow:=Current time
See also
|
PROPERTIES
Product: 4D HISTORY
Created: < 4D v6 ARTICLE USAGE
4D Language Reference ( 4D v16) |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||