32.22.7.4 Explanation of the H2S and H2SP Instructions

The H2S/H2SP instructions convert seconds in time variables to integer variables. Specify the time variable in S1 that you want to convert, and specify integer variable for the conversion output in D1. You can specify only a time variable for input in S1 and an integer variable for output in S2. Time variables cannot be configured in arrays. 0:30 will be converted to 1800 seconds. 14:00 will be converted to 50400 seconds.