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

st: Splitting a numeric variable


From   VISINTAINER PAUL <[email protected]>
To   "'[email protected]'" <[email protected]>
Subject   st: Splitting a numeric variable
Date   Thu, 15 Aug 2002 12:13:04 -0400

I previously posted this message with an inappropriate subject line.  Here
it is again.


Quick question.

I have a numeric variable (float) of the form:  19460515

The variable actually refers to the date, May 15, 1946.  Truncating and
concatenating functions appear to operate only on string variables.  What
approach can I use to change this to the correct date?

Thanks.

Paul visintainer

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