556
Quarter
Description
Quarter
falls.
Category
Date and time functions
Quarter(date)
Syntax
See also
DatePart,
Parameters
Parameter
date
Year values 0 - 29 are interpreted as 21
Usage
interpreted as 20
When passing a date/time value as a string, enclose it in quotes. Otherwise, it is
interpreted as a number representation of a date/time object.
Example
<!--- This example shows the use of Quarter --->
<html>
<head>
<title>
Quarter Example
</title>
</head>
<body bgcolor = silver>
<H3>Quarter Example</H3>
Today, <cfoutput>#DateFormat(Now())#</cfoutput>,
is in Quarter <cfoutput>#Quarter(Now())#</cfoutput>.
</body>
</html>
calculates and returns an integer (1–4) of the year quarter in which the date
Month
Description
Any date.
th
century dates.
Chapter 3 ColdFusion Functions
st
century dates. Year values 30 - 99 are
Need help?
Do you have a question about the COLDFUSION 5 - CFML and is the answer not in the manual?