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