View source: R/24_jalalidate_generic_functions.R
as.character.JalaliDate | R Documentation |
convert JalaliDate to character, Date, or list
## S3 method for class 'JalaliDate'
as.character(
x,
format = "A",
separator = jdate_options("DEFAULT_SEPARATOR"),
...
)
## S3 method for class 'JalaliDate'
as.Date(x, ...)
## S3 method for class 'JalaliDate'
as.list(x, ...)
x |
JalaliDate object |
format |
character. One of c("A", "B", "C") elements:
|
separator |
character. One of VALID_SEPARATORS (see jdopt_get_options) that converts Jalali date elements to character |
... |
|
character, Date, or list
as.character(JalaliDate(1), separator= "+", VALID_SEPARATORS = c("+"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.