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(2012,2,27:29)
daydoy(ISOdate(2012,2,27:29))

insol documentation built on May 29, 2017, 3:22 p.m.