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]

Re:st: Date format


From   叶鹏鹏 <smztsmzt@163.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re:st: Date format
Date   Sun, 30 Sep 2012 00:14:26 +0800 (CST)

should be : list if date==
At 2012-09-29 23:37:25,"Sebastian Skalitzky" <sebastian.skalitzky@googlemail.com> wrote:
>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/

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