TimeAdd


 

TimeAdd>time,interval,amount,result

 

Adds (or subtracts) a number of hours, minutes or seconds to (or from) a time.

 

Interval can take one of the following values:

 

H: Hours

M: Minutes

S: Seconds

 

Amount can be a positive or negative amount to apply to the time.

 

The time must be in local system format. Use TimeLocal to generate a time in local system format.

 

See also: TimeDiff, TimeLocal, TimePart

 

Examples

 

GetTime>now

TimeAdd>now,H,-1,OneHourEarlier

TimeAdd>now,M,30,HalfHourLater