powered by
Convert time data expressed as year and fractional part of year to class "Date."
dectime2Date(x, Date.noon = TRUE)
the decimal date to convert.
correct from noon correction for dectime.
dectime
A vector of class "Date" corresponding to each value in x.
x
Added from smwrBase.
dectime, as.Date
as.Date
# NOT RUN { dectime("02/07/2013", date.format="%m/%d/%Y") # Convert back the printed result: dectime2Date(2013.103) # }
Run the code above in your browser using DataLab