# Sum of days

### 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` |
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`

.