Name

Year

Synopsis

Year(date)

Returns the year as a number for the given date. Example:

The current year is <CFOUTPUT>#Year(Now(  ))#</CFOUTPUT>.

Get Programming ColdFusion 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.