String representing the current Date

currentDateString(format = "%d %B %Y")

Arguments

format

format string containing percentage-placeholders as defined in strptime

Value

character string representing the current date

Examples

currentDateString()
#> [1] "19 February 2021"
currentDateString("%d.%m.%Y")
#> [1] "19.02.2021"
currentDateString("%Y-%m-%d")
#> [1] "2021-02-19"