AddTime

AddTime

%AddTime function


Old name

%AddTimeT

Function

The function adds the specified relative time TimeB to the specified absolute time TimeA. The result is absolute time.

Declaration

TIME %AddTime( TIME in TimeA, REAL in TimeB, TEXT in timeZone := %GetCurrentTimeZone() )

Parameters

TimeA

Absolute time.

TimeB

Relative time.

timeZone

Description

The function works as the function %AddIntervalLocal.

Example

%AddTime(TM5, U.RTime6) %AddTime(TM5, %StrToRelTime("256 17:03:16"))