DayOfYear: Day of year

Description Usage Arguments Examples

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/calcSolar documentation built on May 17, 2019, 9:12 a.m.