daydoy: Dates to day of the year

Description Usage Arguments Value See Also Examples

Description

Returns day of the year for given dates.

Usage

1
2
3
4
5
6
## S4 method for signature 'numeric'
daydoy(x,month,day)


## S4 method for signature 'POSIXct'
daydoy(x) 

Arguments

x

Year, four digits format, or an object of class POSIXct with no extra arguments

month

Month number.

day

Day of the month.

Value

Day of the year [1:366].

See Also

ISOdate

Examples

1
2
daydoy(2019,2,27:29)
daydoy(ISOdate(2019,2,27:29))

insol documentation built on Feb. 10, 2021, 5:08 p.m.