Determines if the given time is a real time.
IsValid = SRP_Time("Validate", Hour, Minute, Second)
Returns
1 if the components represent an actual time of day, 0 if not.
Parameters
Parameter | Description |
---|---|
Hour | An hour. 0 - 23. (REQUIRED) |
Minute | A minute. 0 - 59. (REQUIRED) |
Second | A second. 0 - 59 (REQUIRED) |
Remarks
The "Validate" service determines if the the given components represent a valid time of day. If even just one component is "out of bounds," then 0 is returned.
Examples
// Validate a time IsValid = SRP_Time("Validate", 7, 51, 43)