AddTime

Studies that have been contributed to the community by other users. If you’ve got something useful to share, that’s great!
User avatar
TJ
Posts: 7740
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2221 times

AddTime

Postby TJ » 30 Nov 2013

Code: Select all

[LegacyColorValue = true];

{ User Function: AddTime
Syntax : AddTime ( xTime, Minutes )
Inputs : xTime - time in 24 hour format.
Minutes - amount to add/subtract to xTime.

Sample Usage :
if Time > AddTime (Sess1StartTime, +30)
then ...

Returns: Adjusted time in 24 hour format.
Properties
[ ] Auto Detect
[*] Simple
[ ] Series

Provided by Product Support Dept.
of Omega Research, Inc.
}

Inputs :
xTime (NumericSimple),
Minutes (NumericSimple) ;

AddTime = MinutesToTime (TimeToMinutes (xTime) + Minutes) ;

Return to “User Contributed Studies and Indicator Library”