$newTime = Time.AddHour (
"<time>", <n>
)
Adds or subtracts given number of time period in hours to the time mentioned.
Parameters
<time>
Any valid time expression.
<n>
An expression denoting the number of time intervals in hours you want to add or subtract. To subtract,
n
should be negative.
Return Value
Returns the new time depending on the control panel settings.
Example
$stime = "10:42:23 PM" $ret = time.AddHour ($stime, -5)
$ret
contains
5:42:23 PM
.