month_end: Get the last day of month

Description Usage Arguments Value See Also Examples

View source: R/month_end.R

Description

month_end() returns the last day of the month.

Usage

1

Arguments

x

A Date object or a 8-digit date character.

Value

The same type of x.

See Also

ceiling_date.

Examples

1
2
month_end("20180712")
month_end(as.Date("2018-07-12"))

ylwpaopao/cnquant documentation built on Dec. 2, 2019, 10:39 p.m.