×

Sign up and get MultiCharts free

Use its powerful simulation mode with data included out of the box. Just fill out the form and start honing your trading skills with a few clicks.

DayOfWeek - MultiCharts
Open main menu

DayOfWeek

Revision as of 13:07, 13 February 2012 by Admin (talk | contribs) (Reverted edits by 176.8.90.7 (talk) to last revision by 194.84.116.138)

Returns a numerical value, indicating the day of the week corresponding to the specified date, where 0 = Sunday, 1 = Monday, etc.

The Date is specified in the YYYMMdd format, where YYY is the number of years since 1900, MM is the month, and dd is the day of the month.

Usage

DayOfWeek(YYYMMdd)

Where: YYYMMdd - a numerical expression, specifying the date in YYYMMdd format

Example

DayOfWeek(1080101)  will return a value of 2, indicating Tuesday, for January 1st, 2008 

DayOfWeek(990603)  will return a value of 4, indicating Thursday, for June 3rd, 1999