day2week: converts a date in month-day-year format and finds the day of...

View source: R/day2week.r

day2weekR Documentation

converts a date in month-day-year format and finds the day of week

Description

converts a date in month-day-year format and finds the day of week

Usage

day2week(date)

Arguments

date

a given date in month-day-year format, a 3-element vector

Value

dayofweek: number 1 through 7, where 1 is Sunday, 2 is Monday, etc.

Note

calibrated according to Jan 1, 1600 being a Saturday


jlivsey/sigex documentation built on July 4, 2025, 7:18 p.m.