[R] Working with date

jim holtman jholtman at gmail.com
Wed Dec 26 20:14:39 CET 2012


try this:

> asd <- as.Date("2012-01-03")
> asd
[1] "2012-01-03"
> format(asd, format = '%m/%d/%Y')
[1] "01/03/2012"
>



On Wed, Dec 26, 2012 at 1:31 PM, Ron Michael <ron_michael70 at yahoo.com> wrote:
> asd <- as.Date("2012-01-03")



-- 
Jim Holtman
Data Munger Guru

What is the problem that you are trying to solve?
Tell me what you want to do, not how you want to do it.




More information about the R-help mailing list