[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: RE: date formatting
There is an FAQ
How do I convert date variables into Stata elapsed dates
when the numbers run together, like 4151999?
A canned solution is offered by -todate- on SSC.
> A simple question for which I've had trouble finding an answer:
> A file has a date variable without delimiters -
> I need to extract the first four digits as a new variable 'year'.
* For searches and help try: