date.dayOfYear

Syntax date.dayOfYear (date)

Params date is a valid Frontier date or a string that can be coerced to a date.

Action Returns the day of the year

Returns The day of the year, with the first day being 1.

Examples date.dayOfYear (date ("1/8/2000"))

   » 214

date.dayOfYear (clock.now())

   » 301

See Also date.dayOfWeek

date.weekInYear

Discuss