Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: Date format
From
Mansour Ndiath <[email protected]>
To
statalist <[email protected]>
Subject
st: Date format
Date
Mon, 8 Mar 2010 07:49:44 -0800 (PST)
hello stata user
I
am experincing difficulties in formatting dates with stata 10. I have two
variables Entrydate and Exitdate I want to change the format into DMY.
How can I got about it? any helps is greatly appreciated
here is the output of the variables
+-----------------------------------------+
| Exitdate entrydate |
|-----------------------------------------|
1. | 22jan2010 00:00:00 01jan2008 00:00:00 |
2. | 22jan2010 00:00:00 16jan2009 00:00:00 |
3. | 22jan2010 00:00:00 01jan2006 00:00:00 |
4. | 22jan2010 00:00:00 16jan2008 00:00:00 |
5. | 22jan2010 00:00:00 16jan2009 00:00:00 |
|-----------------------------------------|
6. | 22jan2010 00:00:00 15jun2008 00:00:00 |
7. | 22jan2010 00:00:00 15jun2008 00:00:00 |
8. | 22jan2010 00:00:00 01jan2007 00:00:00 |
9. | 22jan2010 00:00:00 01jan2005 00:00:00 |
10. | 22jan2010 00:00:00 01jan2007 00:00:00 |
+-----------------------------------------+
yours sincerely
Mansour Ndiath
Senegal
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/