%AddTime function


Old name
%AddTimeT
Function
The function adds the specified relative time TimeB to the specified absolute time TimeA. Result is an absolute time.
Declaration
TIME %AddTime(
   TIME in TimeA, 
   REAL in TimeB,
   INT  in timeZone :=  %GetTimeZone()
)

Parameters
TimeA Absolute time.
TimeB Relative time.
timeZone Forced time zone to convert to a local time. It is set as a time zone offset from UTC during winter in seconds.

Description
The function works as the function %AddIntervalLocal.
Example
 %AddTime(TM5, U.RTime6)
 
 %AddTime(TM5, %StrToRelTime("256 17:03:16"))

Napíšte komentár