reads and converts the time variable of a netcdf-file ('.nc'-file) or ncdf4-object as as.Date-object
ncdf4
as.Date
Useful links