DayOfWeek() - get the day of the week in a Date
DayOfWeek.cfm
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>DayOfWeek function example: how to get the day of the week in a Date</title>
</head>
<body>
<h2 style="color:hotpink">DayOfWeek Function Example</h2>
<cfset ToDay=DateFormat(Now())>
<cfoutput>
<b>
Today: #Today#
<br />
ToDay[day of the week]: #DayOfWeek(ToDay)#
</b>
</cfoutput>
</body>
</html>
- DateCompare() - compare two date time object
- DateDiff() - get difference between two date time object
- DateFormat() - format a date value using U.S. date format
- DatePart() - get a part from a date value
- DayOfWeekAsString() - get the day of the week, in a Date, as a string
- DaysInMonth() - get the number of days in a month