Sum of days

Share:

Description

This function returns the number of days in a sequence of months. Takes into account leap years.

Usage

1
diasdelmes(y, meses)

Arguments

y

integer, year from which to reference the months specified by meses

meses

a vector of length greater or equal to 1 specifying the months to sum

Value

returns the number of days specified in the months meses of the year y.

Author(s)

A.M. Sajo-Castelli

See Also

vetools, diffmonths, tssum, m12, time2ym, ym2time, xts2ts.

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.