Description Usage Arguments Details Value See Also
Convenience wrappers to create date-times from numeric representations.
1 2 | ISOdatetime(year, month, day, hour, min, sec, tz = "")
ISOdate(year, month, day, hour = 12, min = 0, sec = 0, tz = "GMT")
|
year, month, day |
numerical values to specify a day. |
hour, min, sec |
numerical values for a time within a day. Fractional seconds are allowed. |
tz |
A time zone specification to be used for the conversion.
|
ISOdatetime
and ISOdate
are convenience wrappers for
strptime
that differ only in their defaults and that
ISOdate
sets UTC as the time zone. For dates without times it
would normally be better to use the "Date"
class.
The main arguments will be recycled using the usual recycling rules.
Because these make use of strptime
, only years in the
range 0:9999
are accepted.
An object of class "POSIXct"
.
DateTimeClasses for details of the date-time classes;
strptime
for conversions from character strings.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.