Adds seconds to a time.
Time = SRP_Time("AddSeconds", Time, Seconds) |
A new time.
Parameter | Description |
---|---|
Time | A time in OI internal format. (REQUIRED) |
Seconds | The number of seconds to add. (REQUIRED) |
The "AddSeconds" service calculates a new time by adding the given number of seconds to an existing time. You can pass positive or negative whole numbers only.
// Add 10 seconds the current time NewTime = SRP_Time("AddSeconds", Time(), 10) // Subtract 10 seconds from the current time NewTime = SRP_Time("AddSeconds", Time(), -10) |