powered by
as.dt(x)
units
t1 = Sys.time() t2 = t1 + 3600 d = t2 - t1 du <- as.units(d) dt = as.dt(du) class(dt) dt
Run the code above in your browser using DataLab