Hi, Try this: date1<-"X01.11.2010" date2<-strftime(strptime(date1,"X%d.%m.%Y"),"%d.%b.%y") date2 [1] "01.Nov.10"
A.K. ----- Original Message ----- From: juliane0212 <stephan...@web.de> To: r-help@r-project.org Cc: Sent: Thursday, June 14, 2012 10:09 AM Subject: [R] Transform date - style Hello, is there any posibility to automatically transform this date notation "X01.11.2010" into "01.Nov.10" ? I did not see it before starting my simulation and now I have to deal with it. It is no problem for my calculations but for my graphical outputs I would like to have 01.Nov.10 . Thanks -- View this message in context: http://r.789695.n4.nabble.com/Transform-date-style-tp4633377.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.