date2day: Converts month-day-year date, and returns day index

View source: R/date2day.r

date2dayR Documentation

Converts month-day-year date, and returns day index

Description

Converts month-day-year date, and returns day index

Usage

date2day(month, day, year)

Arguments

month

1 through 12, corresponding to the date's month

day

1 through 31, corresponding to the date's day

year

0 through ???, corresponding to the date's year (A.D.)

Value

day.count: day index within a year of the given date, from 1 to 366


jlivsey/sigex documentation built on March 20, 2024, 3:17 a.m.