Hi,

Use  ?format

 format(d, "%m/%d/%Y")
#[1] "09/01/2014"

A.K.


On Monday, September 1, 2014 5:26 AM, Velappan Periasamy <veepsi...@gmail.com> 
wrote:





d=Sys.Date()
"2014-09-01"

How to convert this "2014-09-01" to "09/01/2014" format?

(ie y-m-d to m/d/y format)

thanks

veepsirtt

______________________________________________
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.

Reply via email to