[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: dates
There was a pattern typo (twice) in my previous reply:
p(ddmmyyy) should have been p(ddmmyyyy)
Gary Longton wrote:
Rodrigo Briceno wrote:
Dear statalisters. I reviewed the FAQ about how to handle dates and I
-todate- should do it. Look at the help file a little more carefully.
discovered some interesting functions to deal with dates. I have a little
problem with the dates I have, because the order of mm-dd-yy is not
My dates are dd-mm-yy. I downloaded the "todate" program, and I was
to convert the dates in several files that I have, but other files has
different structure. Does anyone knows how to handle with this feature?
-todate- doesn't require mm-dd-yy order. In fact, it requires that you
specify the order with the pattern option. in your case, ddmmyyy, i.e.
todate adm_date dis_date, p(ddmmyyy) gen(adm_date2 dis_date2)
* For searches and help try:
- st: dates
- From: "Rodrigo Briceno" <email@example.com>
- Re: st: dates
- From: Gary Longton <firstname.lastname@example.org>