View source: R/26_jalalidate_other_functions.R
change_date_separator | R Documentation |
change the Jalali date character separators. For invalid inputs, returns input without change
change_date_separator(date_char, new_separator, ...)
date_char |
Jalali date (character) |
new_separator |
character (valid separator) |
... |
passing options ("MIN_YEAR" and/or "MAX_YEAR") to override package options (jdopt_get_options) |
Jalali date character
change_date_separator(c("1350/01/02", "14021220", "1402/1/40"), "+", VALID_SEPARATORS=c("+"))
# [1] "1350+01+02" "1402+12+20" "1402/1/40"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.