Creates a time from a given hour, minute, and second.
Time = SRP_Time("Encode", Hour, Minute, Second)
Returns
An OI time.
Parameters
Parameter | Description |
---|---|
Hour | A valid hour. 0 - 23. (REQUIRED) |
Minute | A valid minute. 0 - 59. (REQUIRED) |
Second | A valid second. 0 - 59 (REQUIRED) |
Remarks
The "Encode" service converts the components of a time into a time in OI's internal format. For example, if Hour is 12, Minute is 41, and Second is 8, this service will return 45668. If any of the parameters do not represent a valid time, then "" is returned.
Examples
// Encode a time Time = SRP_Time("Encode", 16, 4, 0)