format_datetime | R Documentation |
Format datetime columns to a specified format
format_datetime(df, regex, timeformat = "%Y-%m-%d %H:%M:%S", ...)
df |
a data frame |
regex |
a character used for regular expression lookup of matching columns to format with |
timeformat |
datetime format to be used for formating columns with (see 'help(strptime)') |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.