Name
DaysInYear
Synopsis
DaysInYear(date
)
Returns the number of days in the specified year. The value supplied
for date
must be in the range AD 100-9999.
For information on how ColdFusion MX handles two-digit years, see
CreateDate( )
. Example:
There are <cfoutput>#DaysInYear(Now( ))#</cfoutput> days this year.
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.