Hi,
I could not find a function that returns a time in hours and minutes given seconds as argument. I looked also in the chron package.

I would need something like this:

mytime(61) #61 are seconds
[1] "00:01:01"

mytime(7385) #7385 are seconds
[1] "02:03:05"

Am I missing something? or should I write it by myself?
Thank you
Stefano


--
======================================================================
 Stefano Leonardi
 Dipartimento di Scienze Ambientali
 Universita` di Parma               E-mail: stefano.leonardi at unipr.it
 Viale Usberti 11/A                            Phone : +39-0521-905659
 43100 PARMA  (Italy)                          Fax   : +39-0521-905402

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to