Learn R Programming

dttr2 (version 0.5.2)

dtt_doy: Day of the Year

Description

Day of the Year

Usage

dtt_doy(x, ...)

Value

A integer vector between 1 and 366 of the day of the year.

Arguments

x

A Date or POSIXct vector.

...

Unused.

See Also

dtt_doy_decimal()

Other days: dtt_days_in_month(), dtt_days_in_year(), dtt_doy_to_date()

Examples

Run this code
dtt_doy(Sys.Date())

Run the code above in your browser using DataLab