Date/Time Functions

eSignal EFS

Date/Time Functions

 

There are two types of Date/Time operations you can perform in EFS:

 

  • Date/Time operations on the System Date (e.g., determining and manipulating the cpu Date/Time):

 

Date Operations

 

  • Date/Time operations on the actual price data (e.g., determining and manipulating the Date/Time of a particular bar):

 

getYear()

getMonth()

getDay()

getHour()

getMinute()

getSecond()

 

getValue()

getValueAbsolute()

 

Notes from eSignal:

 

In the early days of EFS, we discovered that using getValue("time", ...) put an extra load on the CPU. We do not recommend using getValue("time", ...). 

 

Instead, use one of the getYear(...), getMonth(...), getDay(...), getHour(...), getMinute(...), getSecond(...) functions. or getValue("rawtime", ...)

 

rawtime is the number of seconds elapsed since 1/1/1970.