decipher.M3.date {M3} | R Documentation |
Decipher Models3 date format (YYYYDDD) into R's Date class.
Description
Decipher Models3 date format (YYYYDDD) into R's Date class.
Usage
decipher.M3.date(M3.date)
Arguments
M3.date |
Date (numeric) in the format YYYYDDD, where DDD is a Julian day (since the beginning of year YYYY). |
Value
Date specified by YYYYDDD in R's Date class.
Note
For more information about M3 date-time conventions,
see
https://www.cmascenter.org/ioapi/documentation/all_versions/html/DATETIME.html.
This function is called by function get.datetime.seq
,
but it will probably not be called by most users.
Author(s)
Jenise Swall
References
https://www.cmascenter.org/ioapi/documentation/all_versions/html/DATETIME.html
See Also
DateTimeClasses
,
get.datetime.seq
,
decipher.M3.time
Examples
## Returns 2011-03-10, which is the 69th day of 2011.
decipher.M3.date(2011069)
## Returns 2012-02-29. This leap day is the 60th day of 2012.
decipher.M3.date(2012060)
[Package M3 version 0.4 Index]