DayOfYear: Day of year

Description Usage Arguments Examples

View source: R/DayOfYear.R

Description

This function returns a continuous the day of year value (as integer value 1:365) for a given date-time in "POSIXlt" "POSIXct" format.

Usage

1
DayOfYear(DateTime)

Arguments

DateTime

DateTime object

Examples

1
2
3
#Calculating day of year for now

DayOfYear(Sys.time())

bnasr/solrad documentation built on May 20, 2019, 3:05 p.m.