--- Christopher J Gerry wrote:
> I have a query regarding transforming a date read into Stata as a string
> variable which I need to translate into a numeric variable (and then store
> in Stata's %tc format). I'd be grateful if anyone has any idea what I'm
> doing wrong. It falls over when I use the -clock- function. But after studying
> the help pages am still not sure why! The error message is r(133) "Unknown
> function clock()".
<snip>
> I am using Intercooled Stata v9.2.
The -clock- command is new to Stata 10, so if you want to use it you'll have
to upgrade. If you don't want to, you can look at the -ntimeofday- command
by Nick Cox (see: -findit ntimeofday-).
Hope this helps,
Maarten
-----------------------------------------
Maarten L. Buis
Department of Social Research Methodology
Vrije Universiteit Amsterdam
Boelelaan 1081
1081 HV Amsterdam
The Netherlands
visiting address:
Buitenveldertselaan 3 (Metropolitan), room Z434
+31 20 5986715
http://home.fsw.vu.nl/m.buis/
-----------------------------------------
*
* 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/