Thursday, March 16, 2006
st: Re: How To get 4-digit Year Number
Thank you Nick Cox, for your suggestion. It works fine, if not perfectly.
Your understanding is correct. Probably my writing is not clear, as I try to look for few lines of code to solve two cases (one has only year number, the other is date as usual).
But your two-step appraoch is much simpler and clear. I appreciate your time and experience.
_________________________________________________________________ Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
* * 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/
Links to this post: