HI, format(asd,"%d/%m/%Y") #[1] "03/01/2012" A.K.
----- Original Message ----- From: Ron Michael <[email protected]> To: "[email protected]" <[email protected]> Cc: Sent: Wednesday, December 26, 2012 1:31 PM Subject: [R] Working with date Hi, Let say I have a date variable: > asd <- as.Date("2012-01-03") > asd [1] "2012-01-03" Now, I want to express this date like 3/1/2012. can somebody help me how to achieve that? Thanks, ______________________________________________ [email protected] 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. ______________________________________________ [email protected] 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.

