powered by
dt2str(dt,dec=0,verbose=FALSE)
TRUE
dec
t1 <- unclass(Sys.time()) x <- 0; for (i in 1:1.e6) x <- x+1 t2 <- unclass(Sys.time()) dt2str(t2-t1,3) # 00:00:2.835
Run the code above in your browser using DataLab