[R] Format Sys.time()
arun
smartpink111 at yahoo.com
Wed Jan 15 16:47:42 CET 2014
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" <rebecca.yuan at bankofamerica.com> 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 %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:8}}
More information about the R-help
mailing list