Converts time in the HH:MM:SS format into seconds.
Function | Group | Execution | Windows | Embedded | Thin Client |
---|---|---|---|---|---|
Hour2Clock | Date & Time | Synchronous | Supported | Supported | Supported |
Hour2Clock( strTime )
Returns the number of seconds equivalent to the total number of hours, minutes, and seconds specified.
Tag Name | Expression |
---|---|
Tag | Hour2Clock( "01:00:00" ) // Returned value = 3600 |
Tag | Hour2Clock( "10:01:01" ) // Returned value = 36061 |