The number of seconds between times.
Seconds = SRP_Time("Span", FromTime, ToTime) |
The number of seconds between two times
Parameter | Description |
---|---|
FromTime | A starting time in OI internal format. (REQUIRED) |
ToTime | An ending time in OI internal format. (REQUIRED) |
The "Span" service calculates the number of seconds between two times. The result will be positive if the starting time comes before the ending time and negative if the ending time comes first. This is the same as the "SecondSpan" service.
// Get the number of seconds between two times From = SRP_Time("Parse", "7:51:43am", "h:mm:sstt") To = SRP_Time("Parse", "12:41:08pm", "h:mm:sstt") Seconds = SRP_Time("Span", From, To) |