Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

dayOfYear

Convert 'Date' to number of day in a year


Description

Function gives a day number of the year (julian day of the year) based on the date in class 'Date'.

Usage

dayOfYear(dat)

Arguments

dat

Date in class 'Date'.

Value

Numeric number of day in a year.

Author(s)

Jedrzej S. Bojanowski

Examples

dayOfYear(as.Date("2009-01-11"))

sirad

Functions for Calculating Daily Solar Radiation and Evapotranspiration

v2.3-3
GPL-2
Authors
Jedrzej S. Bojanowski
Initial release
2016-10-17

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.