Hour2Clock

Converts time in the HH:MM:SS format into seconds.

Function Group Execution Windows Embedded Thin Client
Hour2Clock Date & Time Synchronous Supported Supported Supported

Syntax

Hour2Clock( strTime )
strTime
The number of hours, minutes, and seconds in HH:MM:SS format.

Returned value

Returns the number of seconds equivalent to the total number of hours, minutes, and seconds specified.

Examples

Tag Name Expression
Tag Hour2Clock( "01:00:00" ) // Returned value = 3600
Tag Hour2Clock( "10:01:01" ) // Returned value = 36061