Convert seconds to hh:mm:ss
as.ctime(x)
x
A string ('character' or 'numeric') of time in seconds.
A string of time in 'hh:mm:ss'.