Displaying 1 result from an estimated 1 matches for "stightforward".
Did you mean:
strightforward
2005 Apr 05
2
extract date
.......
I used
strptime(paste(substr(x,12,13), substr(x,15,17), substr(x,19,22),
sep="-"), format="%d-%b-%Y")
which suits to lines 3:5 and 7 (such are the most common in my
dataset) but obviously does not work with other lines. If there is no
stightforward solution I can live with what I use now but some
automagical function like
give.me.date.from.my.string.regardles.of.formating(x)
would be great.
Thank you.
Petr Pikal
petr.pikal at precheza.cz