Dear all,
I am a neophyte of Stata.
I have a time variable in my database "time", which takes for example
the value 14.41.37, that is hours, minutes and seconds, but Stata
change it in .61223382.
I red about the stimeofday command and I tried to use it, typing this command:
stimeofday time, gen(hours) n(s) s(h m s) timeonly am(" am") pm(" pm")
but the output is:
(1436t missing values generated)
type mismatch
r(109);
Could you please give me any suggestion on how to solve the puzzle?
Thank you very much
Paola
Rispondi Inoltra
*
* 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/