is_date | R Documentation |
Esri date fields are represented as milliseconds from the Unix Epoch.
is_date(x, tz)
date_to_ms(x, tz = "UTC")
from_esri_date(x)
x |
an object of class |
tz |
a character string. The time zone specification to be used
for the conversion, if one is required. System-specific (see
time zones), but |
is_date()
: checks if an object is a Date
or POSIXt
class object.
date_to_ms()
converts a date object to milliseconds from the Unix Epoch in the specified time zone.
is_date()
returns a logical scalar
date_to_ms()
returns a numeric vector of times in milliseconds from the Unix Epoch in the specified time zone.
today <- Sys.Date()
is_date(today)
date_to_ms(today)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.