Learn R Programming

broman (version 0.59-5)

kbdate: My only 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

Sys.time, date

Examples

Run this code
kbdate()
kbdate("standard")

Run the code above in your browser using DataLab