Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: hours:minutes:seconds


From   Christa Scholtz <cscholtz@Princeton.EDU>
To   statalist@hsphsun2.harvard.edu
Subject   st: hours:minutes:seconds
Date   Mon, 16 Dec 2002 15:33:40 -0500

Hi,

I have a data field where the duration of an event is recorded in this
format:

hour:minute:second

 eg:  an event that lasts 5 hours, 27 minutes and 13 seconds is 5:27:13.



How do I get Stata to convert this into total number of seconds?

Thanks,

Christa



*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index