• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Name

DayOfYear

Synopsis

                  DayOfYear(date)

Returns the day of the year as a number between 1 and 365 (366 for leap years). 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:

<cfoutput>#DayOfYear(Now( ))#</cfoutput>


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint