Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Truncating a date


From   Robin Newberry <[email protected]>
To   [email protected]
Subject   st: Truncating a date
Date   Tue, 2 Mar 2004 11:30:24 -0500

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")?
--
Robin
--------------------------------------------------------------
W. Robert Newberry, IV CIH, CHMM
Chief Environmental Health and Safety Officer
Clemson University

[email protected] [email protected]
http://ehs.clemson.edu/
*
* 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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index