From | "Nick Cox" <[email protected]> |
To | <[email protected]> |
Subject | st: RE: Truncating a date |
Date | Tue, 2 Mar 2004 16:41:38 -0000 |
You could do that, but you don't need to. Use the -format()- suboption of -xlabel()- or -ylabel()-. Nick [email protected] Robin Newberry > I want to take a date (in DD/MM/YYYY format) and shorten it to just > MM/YY for graphing purposes. Can I just create a new date variable > and format it to just MM/YY (using "format %dD/Y")? * * 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–2025 StataCorp LLC | Terms of use | Privacy | Contact us | What's new | Site index |