firstdayofweek()

The firstdayofweek( function returns the user’s preference for first day of the week.


Parameters

No parameters.


Description

This function returns returns the user’s preference for the first day of the week. It will return 0 for Sunday, 1 for Monday, etc.

firstdayofweek() ☞ 0

In the United States this value is usually zero (Sunday) as shown above, but this preference can be changed in the System Preferences Language & Region panel.


See Also


History

VersionStatusNotes
10.0NewNew in this version.