Learn R Programming

humanize (version 0.2.0)

natural_date: Natural Date

Description

Like natural day, but will append a year for dates that are a year or more in the past or future

Usage

natural_date(value)

Arguments

value

A Date value

See Also

natural_day

Examples

Run this code
# NOT RUN {
natural_date(Sys.Date())
natural_date(Sys.Date()-10)
# }

Run the code above in your browser using DataLab