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

st: converting to dates [was:RE: MIME-Version: 1.0]

From   "Nick Cox" <>
To   <>
Subject   st: converting to dates [was:RE: MIME-Version: 1.0]
Date   Thu, 6 Nov 2003 12:45:13 -0000

Ernest Berkhout already recommended -todate-. 

In addition, there is an FAQ on this at

As so often, the choice is between a solution 
from first principles and a canned solution, 
in this case -todate-. 


Nuttall, Martin
> Can anyone help with converting a number to a date?
> My data is stored as a long integer.  For example, 21021997 
> is 21st February 1997 and 2102002 is 2nd Feb 2002.

*   For searches and help try:

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