Learn R Programming

actuaryr (version 1.1.1)

dref_mtd: Month to date

Description

Returns the last day of the previous month.

Usage

dref_mtd(date)

Arguments

date

base date in format YYYY-MM-DD

Value

date

Examples

Run this code
# NOT RUN {
dref_mtd("2020-09-21")
# }

Run the code above in your browser using DataLab