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.y...@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}} ______________________________________________ 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.