powered by
seconds.to.ctime(sec)
ctime.to.seconds
library(oce) cat("10 s = ", seconds.to.ctime(10), "", sep="") cat("61 s = ", seconds.to.ctime(61), "", sep="") cat("86400 s = ", seconds.to.ctime(86400), "", sep="")
Run the code above in your browser using DataLab