Last chance! 50% off unlimited learning
Sale ends in
ctimeToSeconds(ctime)
secondsToCtime
, the inverse of this.library(oce)
cat("10 = ", ctimeToSeconds("10"), "s
", sep="")
cat("01:04 = ", ctimeToSeconds("01:04"), "s
", sep="")
cat("1:00:00 = ", ctimeToSeconds("1:00:00"), "s
", sep="")
Run the code above in your browser using DataLab