timeDate (version 4032.109)

dayOfYear: Day of the year

Description

Returns the days of the year of the data in a "timeDate" object.

Usage

dayOfYear(x)

Value

vector of integers representing the number of days since the beginning of the year. For January, 1st it is one.

Arguments

x

an object of class "timeDate".

See Also

dayOfWeek

Examples

Run this code
## timeCalendar -  
   tC = timeCalendar(2022)
       
## The days of the Year:
   dayOfYear(tC)

Run the code above in your browser using DataLab