mktime(HH;MM;SS)
Make a time value from hour, minute, and second numbers. (Available as of version 20.04)
Syntax
mktime(HH;MM;SS)
Input
Argument | Type | Description |
---|---|---|
HH |
integer | A scalar value or the name of a column containing an integer, representing the hour. |
MM |
integer | A scalar value or the name of a column containing an integer, representing the minute. |
SS |
integer | A scalar value or the name of a column containing an integer, representing the second. |
Any of the above values may be omitted or NA, in which case they will default to 0. If all of the values are omitted or are NA, the result is NA.
Return Value
Returns an integer value representing the time (HHMMSS
).
For more information about date formats, see Dates and time.
If the input values are not in one of the supported formats listed above, the function returns an erroneous or illogical output.