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

st: insheet time


From   Kit Baum <[email protected]>
To   [email protected]
Subject   st: insheet time
Date   Tue, 7 Dec 2004 10:00:02 -0500

     +------------+
     |       var1 |
     |------------|
  1. | 21.01.2002 |
  2. | 23.01.2002 |
  3. | 01.01.2004 |
  4. | 07.04.2004 |
  5. | 11.09.2001 |
     +------------+

. g date=date(var1,"dmy")

. format date %td

. l

     +------------------------+
     |       var1        date |
     |------------------------|
  1. | 21.01.2002   21jan2002 |
  2. | 23.01.2002   23jan2002 |
  3. | 01.01.2004   01jan2004 |
  4. | 07.04.2004   07apr2004 |
  5. | 11.09.2001   11sep2001 |
     +------------------------+


Kit Baum, Boston College Economics
http://ideas.repec.org/e/pba1.html

*
*   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