DateField.firstDayOfWeek

Availability

Flash Player 6 (6.0.79.0).

Edition

Flash MX Professional 2004.

Usage

dateFieldInstance.firstDayOfWeek

Description

Property; a number indicating which day of the week (0-6, 0 being the first element of the dayNames array) is displayed in the first column of the DateField component. Changing this property changes the order of the day columns but has no effect on the order of the dayNames property. The default value is 0 (Sunday).

Example

The following example sets the first day of the week to Monday:

my_df.firstDayOfWeek = 1;

See also

DateField.dayNames