date2jul2 {pheno}R Documentation

Converts a date (day,month,year) to Julian date

Description

Converts an integer date (day,month,year) into a Julian day of year (DOY). If y is missing, 2000 is assumed.

Usage

date2jul2(d,m,y)

Arguments

d

Day of month, numeric coecerd into an integer.

m

Month of year, numeric coerced into an integer.

y

Year, numeric coerced into an integer, default 2000.

Value

doy

Day of year as integer.

year

Year as integer.

Author(s)

Joerg Schaber

Examples

	date2jul2(31,5,1970)

[Package pheno version 1.7-0 Index]