arlc_convert_date_format | R Documentation |
This function converts a date from one format to another.
arlc_convert_date_format(date_str, from_format, to_format)
date_str |
A date string. |
from_format |
The current format of the date string. |
to_format |
The desired format of the date string. |
The date string in the new format.
arlc_convert_date_format("2023-01-01", "%Y-%m-%d", "%d-%m-%Y")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.