Name

DayOfWeekAsString

Synopsis

                  DayOfWeekAsString(number)

Returns the name of the day of the week for a given day’s number between 1 (Sunday) and 7 (Saturday). Note that ColdFusion uses Sunday as the first day of the week while ISO uses Monday. Example:

Today is <cfoutput>#DayOfWeekAsString(DayOfWeek(Now( )))#</cfoutput>.

Get Programming ColdFusion MX, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.