• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Name

DayOfWeek

Synopsis

                  DayOfWeek(date)

Returns the day of the week for a given date as a number between 1 (Sunday) and 7 (Saturday). Note that ColdFusion uses Sunday as the first day of the week while ISO uses Monday. The value supplied for date must be in the range AD 100-9999. For information on how ColdFusion MX handles two-digit years, see CreateDate( ). Example:

<cfoutput>#DayOfWeek(Now( ))#</cfoutput>


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint