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]

Re: st: Date format


From   Sebastian Skalitzky <[email protected]>
To   [email protected]
Subject   Re: st: Date format
Date   Sat, 29 Sep 2012 18:33:31 +0200

Thanks a lot! Your solution totally works :)

2012/9/29 叶鹏鹏 <[email protected]>:
> should be : list if date==
> At 2012-09-29 23:37:25,"Sebastian Skalitzky" <[email protected]> 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/

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