datestr_format_full.fullcode | R Documentation |
unify valid format of date
datestr_format_full.fullcode(
datestr,
Date.beg = NULL,
Date.end = NULL,
strict = TRUE,
use.range = TRUE,
use.jpera = TRUE,
use.exceldate = FALSE,
exceldate.origin = as.Date("1904-01-01")
)
datestr |
target character or sequence of character. |
Date.beg |
potentially begin date; used for validation and estimation. |
Date.end |
potentially end date; used for validation and estimation. |
strict |
return NA if read datestr is out of Date.beg-Date.end range |
use.range |
Allow range date format |
use.jpera |
Allow Japanese era case (e.g., R2.4.5 or 令和3年4月11日). |
use.exceldate |
Allow to check the value which is originally excel date but occationally transformed to normal value. |
exceldate.origin |
Origin of excel date. In default, it is 1900-01-01 if the file is originally created on Windows and 1904-01-01 on Mac. |
transformed date string like "2021.03.04-2023.05.31"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.