Date or datetime object (100AD-9999AD). When passing a datetime object as a string, enclose it in quotation marks. Otherwise, it is interpreted as a numeric representation of a datetime object.
calendar
string
Default:gregorian
CF2016u8+ Indicates whether the week starts on Sunday (gregorian) or Monday (iso)
Values:
gregorian
iso
Compatibility
ColdFusion:
Member function is available in CF11+.
Lucee:
Member function is available in Lucee4.5+. Lucee accepts an additional argument for timezone.
Examples
Sample code invoking the dayOfWeek function
Add an Example for: dayOfWeek
Use this form to create the Serialized JSON string needed to add an example into the docs.