dayOfYear {sirad}R Documentation

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"))


[Package sirad version 2.3-3 Index]