Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: ST: simple date question


From   "Eric Uslaner" <[email protected]>
To   <[email protected]>
Subject   st: ST: simple date question
Date   Mon, 14 Jan 2008 17:46:18 -0500

I've been trying to convert seven numbers to dates (without having done this before).  I've read the help, the manual, and several tutorials and I can't get past the obscure language so that I can create a variable that I can use on the LHS of a graph hbar command.

I have created new variables for month and year (and even a fake one for day).  All I want is a date variable that will be sorted in this order:

October2000
April2001
October2001
April2002
October2002
April2003
October 2003

I've spent an hour on this with no success.  I know that it can't be too difficult, but the manual (and the on-line help).  Thanks in advance.

Ric




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