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

st: Hyphens in dates


From   "Erica Seiguer" <[email protected]>
To   <[email protected]>
Subject   st: Hyphens in dates
Date   Thu, 15 Jul 2004 20:16:21 -0400

Hi

I have a date variable which lists dates as

MM-DD-YR

I want to remove the hyphens/dashes, but can't find anything in any
manual about this.

Also, sometimes the actual time is also included like:

MM-DD-YR HH:MM.

In this case, I want to dump the time stamp, and keep the date (without
the hyphens).

Any ideas would be greatly appreciated!

Thank you!


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