diff_meses: diff_meses function

Description Usage Arguments Examples

Description

This function outputs the number of months between two dates in the format AAAAYY (in which case will assume the day 1 for the corresponding month), or in the formats AAAA-MM-DD,AAAA/MM/DD.

Usage

1
diff_meses(end_date, start_date)

Arguments

end_date

either numeric or string object with a date format YYYYMM, representing the final date.

start_date

either numeric or string object with a date format YYYYMM, representing the initial date.

Examples

1
diff_meses(201502,198507)

vhmedina/vhmo documentation built on May 17, 2019, 8:46 p.m.