Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Stimeofday command problem


From   "Paola Paiardini" <[email protected]>
To   [email protected]
Subject   st: Stimeofday command problem
Date   Fri, 26 Oct 2007 16:55:46 +0200

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/



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