Bookmark and Share

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 string to date


From   lars Folkestad <[email protected]>
To   "[email protected]" <[email protected]>
Subject   st: Date string to date
Date   Sun, 24 Nov 2013 13:55:31 +0100

Dear List

I have a string variable where the dates entered are not stricky dmy it looks like this
date
12/15/2010 10:50 (mdy)
24-MAY-2010 9:43 (dmy)
4/15/2011 9:30 (dmy)

Is it possible to create a date variable from this ditectly?

Lars
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index