50% off | Unlimited Data & AI Learning
Get 50% off unlimited learning

broman (version 0.72-4)

kbdate: My little date facility

Description

Sys.Date as a string, in a few different formats

Usage

kbdate(format = c("dateonly", "standard"), date = Sys.time())

Arguments

format

The format for the output

date

The date/time to convert

Value

A character string representation of the date/time

See Also

base::Sys.time(), base::date()

Examples

Run this code
# NOT RUN {
kbdate()
kbdate("standard")

# }

Run the code above in your browser using DataLab