For the following functions, "date" must be in the format of YYYYMMDD.  This can include variables or properties such as test.currentDate or instrument.date. To set dates into variables, use the Integer type.

 

Time is in the format HHMM and is also an integer.

 

Function Name:

Description:

ChartTime

Creates a Chart object compatible date and a time value..

DateToJulian

Returns the number of days since 1900 for a given date. It is useful for calculating the number of days between two dates.

DayMonthYearToDate

Returns the date based on the day, month, year

DayOfMonth

Returns the day of the month

DayOfWeek

Returns the day of the week for the date

DayOfWeekName

Returns the name of the day of the week for the day of the week index

DaysInMonth

Returns the number of calendar days in a month

Hour

Returns the hour for the specified time

JulianToDate

Returns the date for a Julian number

Minute

Returns the minute for the specified time

Month

Returns the month for the specified date

MonthName

Returns the name of the month, for the given month index

SystemDate

Keyword returns the current system (computer) date in a YYYYMMDD format. Displays as YYYY-MM-DD, but can be compared to other integer dates such as instrument.date and test.currentDate

SystemTime

Keyword returns the current system (computer) time

TimeDiff

Returns the difference between two times, in time format

WeekNumberISO

Returns an International Organization for Standardization (ISO) compatible week number for any date since 1900

Year

Returns the year for the specified date

 


Edit Time: 9/18/2020 11:58:24 AM


Topic ID#: 256

 

Created with Help & Manual 7 and styled with Premium Pack Version 2.80 © by EC Software