Time

4D - Documentation   Français   English   German   4th Dimension 2003, Command Theme List   4th Dimension 2003, Command Alphabetical List   4th Dimension 2003, Constant Theme List   Back   Previous   Next

version 3


Time (timeString) Time

ParameterTypeDescription
timeStringTimeTime for which to return number of seconds
Function resultTimeTime specified by timeString

Description

The command Time returns a time expression equivalent to the time specified as a string by timeString.

The timeString parameter must follow the HH:MM:SS format and be in 24-hour format.

Example

The following example displays an alert box with the message "1:00 P.M. = 13 hours 0 minute":

   ALERT ("1:00 P.M. = "+String(Time("13:00:00");Hour Min))

See Also

String, Time string.


4D - Documentation   Français   English   German   4th Dimension 2003, Command Theme List   4th Dimension 2003, Command Alphabetical List   4th Dimension 2003, Constant Theme List   Back   Previous   Next