Converts Julian date to integers day,month,year

Share:

Description

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

Usage

1
jul2date2(d,y)

Arguments

d

DOY, numeric coerced into an integer.

y

Year, numeric coerced into an integer, default 2000.

Value

day

Day of month as integer.

month

Month of year as integer.

year

Year as integer.

Author(s)

Joerg Schaber

Examples

1
	jul2date2(151,1970)