ndays: Calculate the number of days of the current month

View source: R/petGrid.R

ndaysR Documentation

Calculate the number of days of the current month

Description

Calculate the number of days of the current month

Usage

ndays(d)

Arguments

d

A date (character) in format YYYY-MM-DD...

Value

The number of days of the current month

Note

This function is an internal helper of loadeR, from wehere it has been duplicated (bad practice...)

References

http://stackoverflow.com/questions/6243088/find-out-the-number-of-days-of-a-month-in-r


SantanderMetGroup/drought4R documentation built on Feb. 7, 2024, 1:59 a.m.