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] "07 July 2021"
currentDateString("%d.%m.%Y")
#> [1] "07.07.2021"
currentDateString("%Y-%m-%d")
#> [1] "2021-07-07"