Description Usage Arguments Value Note Examples
For efficient memory consumption
1 2 3 4 5 | ddmmyyyy2Int(x)
yyyymmdd2Int(x)
yyyymmdd_HHMMSS_UTC(x)
|
x |
A character vector, represeting a date
in |
An integer, equivalent to as.integer(as.Date(x, format))
for the format matching dd/mm/YYYY.
For yyyymmdd_HHMMSS_UTC
, an integer vector the number of seconds
since the epoch.
Missing values are mapped to NA_integer_
as would be expected,
but so too are dates not in the above format, including for example
1/2/2000 (no leading zeroes).
1 2 | ddmmyyyy2Int("02/02/2020")
yyyymmdd_HHMMSS_UTC("2021-05-05 00:55:55")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.