Re: [R] Format Sys.time()

2014-01-15 Thread arun
Hi, Would this work? format(Sys.time(), "%Y_%m_%d_%I_%M_%p") A.K. On Wednesday, January 15, 2014 10:37 AM, "Yuan, Rebecca" wrote: 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

Re: [R] Format Sys.time()

2014-01-15 Thread Yuan, Rebecca
ot;) Petr > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- > project.org] On Behalf Of Yuan, Rebecca > Sent: Wednesday, January 15, 2014 3:56 PM > To: R help > Subject: [R] Format Sys.time() > > Hello all, > > I know that the follo

Re: [R] Format Sys.time()

2014-01-15 Thread Mohammad Tanvir Ahamed
HI !! try it  format(Sys.time(), "%Y_%m_%d_%X")   Best regards ...  Tanvir Ahamed Göteborg, Sweden From: "Yuan, Rebecca" To: R help Sent: Wednesday, 15 January 2014, 15:56 Subject: [R] Format Sys.time() Hel

Re: [R] Format Sys.time()

2014-01-15 Thread PIKAL Petr
Hi format(Sys.time(), "%Y_%m_%d_%I_%M%p") Petr > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- > project.org] On Behalf Of Yuan, Rebecca > Sent: Wednesday, January 15, 2014 3:56 PM > To: R help > Subject: [R] Format Sys

[R] Format Sys.time()

2014-01-15 Thread Yuan, Rebecca
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