convert date DDmmmYYYY to Date
asDate(getDateValues, dateFormat = "%d%b%Y", ...)
character
date, in format recognized by dateFormat
character
string representing the recognized date
format, by default "DDmmmYYYY"
, which recognizes "23aug2007"
.
additional parameters are ignored.
Date object
This function converts a text date string to Date object, mainly to
allow date-related math operations, for example difftime
.
Other jam date functions:
dateToDaysOld()
,
getDate()
asDate(getDate());
#> 10jun2024
#> "2024-06-10"