powered by
Format a date string as " from a SQL database to a format compatible with a HTML date input value.
castDateString(x)
A string, formatted YYYY-MM-DD.
A string.
castDateString(Sys.time())
Run the code above in your browser using DataLab