Inside Coldfusion MX

Year (date)

Description

Returns the year value from a date.

Example

<cfset exampleDate = now()> <cfoutput> The current year is #Year(exampleDate)#. </cfoutput>

Категории