DateTimeOptions

DateTimeOptions ( dateOrder ;​ startingDay )

Argument Type Range Default Note
dateOrder int 1..3 mdy Month-day-year
startingDay int 1..7 1
Examples

DateTimeOptions(ymd) /* Year-month-day */

DateTimeOptions(mdy;​1) /* US date format. */

DateTimeOptions(;​2) /* Calendar week starts on Monday (ISO 8601) */

Description

The first argument dateOrder can be used to define the order of day, month and year when entering the date. The function is to be placed before ChartData() or before ChartDataRead() . The second argument startingDay can be used to specify the beginning of the calendar week using a value between 1 and 7, i.e. 1=Sunday (default), 2=Monday, 3=Tuesday, etc. For more details, refer to Date & Time.

Scroll to Top
Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×