Time

4D - Documentation   Français   English   German   4th Dimension 2004, Command Theme List   4th Dimension 2004, Command Alphabetical List   4th Dimension 2004, 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 Time command returns a time expression equivalent to the time specified as a string by timeString.

The timeString parameter must contain a time expressed in one of the standard time formats of 4D corresponding to the language of your system (for more information, refer to the description of the String command).

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 2004, Command Theme List   4th Dimension 2004, Command Alphabetical List   4th Dimension 2004, Constant Theme List   Back   Previous   Next