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

st: Stimeofday command problem

From   "Paola Paiardini" <>
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

Could you please give me any suggestion on how to solve the puzzle?

Thank you very much


Rispondi Inoltra
*   For searches and help try:

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