get_day: get_day

Description Usage Arguments Note Author(s) See Also

View source: R/get_day.r

Description

This function provides the number of days in each month, given a year and month. This script was originally part of the date.picker() function, but was separated since it might be useful on its own

Usage

1
get_day(the.year, the.month)

Arguments

the.year

YYYY

the.month

MM

Note

It accounts for leapyears from 1904-2096. Leapyears are not simply every 4 years - please look it up should this script live long enough to need modification

Author(s)

Mike McMahon, Mike.McMahon@dfo-mpo.gc.ca

See Also

Other date functions: chron2datestamp, convert.datecodes, date_picker, dayofyear, get.day


AtlanticR/bio.utilities documentation built on June 21, 2020, 7:43 p.m.