powered by
Generating file name ready iso time stamps.
time_stamp(ts = Sys.time(), sep = c("-", "_", "_"))
one or more POSIX time stamp
separators to be used for formatting
Returns timestamp string in format yyyy-mm-dd_HH_MM_SS ready to be used safely in file names on various operating systems.
# NOT RUN { time_stamp() time_stamp( Sys.time() - 10000 ) # }
Run the code above in your browser using DataLab