The day of the year

Share:

Description

Gives the day of the year, i.e. the number of days since the 31 December of the previous year.

Usage

1
dayofyear(m, d, y = 1960)

Arguments

m

month (integer between 1 and 12)

d

day (integer between 1 and 31)

y

year (integer such as 2013)

Value

numeric value, day of the year

Author(s)

Fraenzi Korner-Nievergelt

References

no references

See Also

mdy.date

Examples

1
2
dayofyear(3,1,2013)
dayofyear(3,1,2012)