CNVTIME: Convert time in seconds to HH:MM:SS
Use the CNVTIME EXEC to convert time in seconds to HH:MM:SS format.
The following statement shows the format of the call from the EXEC:
Following table lists the CNVTIME parameters.
Parameter | Required? | Description |
|---|---|---|
SECSIN | Yes | Time in seconds |
Following is a list of return codes from CNVTIME:
Return code | Description |
|---|---|
0 | Request completed successfully |
12 | Input parameter not specified |
Following table lists the variables returned by CNVTIME in the LOCAL POOL.
Variable | Type | Description |
|---|---|---|
TIMEOUT | Data | Output time in HH:MM:SS format |
CNVTDAY | Data | Number of days the output goes past the day boundary |
Related topic