Learn R Programming

broman (version 0.84)

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())

Value

A character string representation of the date/time

Arguments

format

The format for the output

date

The date/time to convert

See Also

Examples

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

Run the code above in your browser using DataLab