isInSession()

ICE Data Services -

isInSession()

 

isInSession(  )

 

 

This function looks at the current clock time and compares it to the start and end times of the Time Template that you have applied. It returns true if the current time is within the start and end times of your Time Template, otherwise it returns false. If you use a 24-hour Time Template, this function will always return true.

 

Example:

 

var bInSession = isInSession(); //based on current time, are we in session?

 

isDaily()

isDWM()

isIntraday()

isMonthly()

isWeekly()

isTick()

isRawTick()