ISOdatetime(year, month, day, hour, min, sec, tz = "")
ISOdate(year, month, day, hour = 12, min = 0, sec = 0, tz = "GMT")
""
is the current time zone and "GMT"
is UTC. Invalid
values are most commonly treated as UTC, on some platforms with a warning."POSIXct"
.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.strptime
for conversions from character strings.