Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Date format


From   Sebastian Skalitzky <sebastian.skalitzky@googlemail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: Date format
Date   Sat, 29 Sep 2012 17:37:25 +0200

Hello all,

I am having a problem with my date variable. I want to list all
observations which occurred at the same date.
Therefore I tried the following line:

list date if==31mar2011

however I receive the following message

31mar2011 invalid name
r(198);

Some information on the variable date:
Type: long
Format: %d
*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index