HI !!
try it 

format(Sys.time(), "%Y_%m_%d_%X")


 
Best regards


........................... 
Tanvir Ahamed
Göteborg, Sweden


________________________________
 From: "Yuan, Rebecca" <rebecca.yuan@bankofamerica.com>
To: R help <r-help@r-project.org> 
Sent: Wednesday, 15 January 2014, 15:56
Subject: [R] Format Sys.time()


Hello all,

I know that the following code will give me the format of the Sys.time() till hour (%I), how can I get that till min? what shall I add between %I and %p?

format(Sys.time(), "%Y_%m_%d_%I_%p")

Thanks very much!

Cheers,

Rebecca

----------------------------------------------------------------------
This message, and any attachments, is for the intended r...{{dropped:10}}


