# NOT RUN {
library(oce)
cat("10 = ", ctimeToSeconds("10"), "s\n", sep="")
cat("01:04 = ", ctimeToSeconds("01:04"), "s\n", sep="")
cat("1:00:00 = ", ctimeToSeconds("1:00:00"), "s\n", sep="")
# }
Run the code above in your browser using DataLab