powered by
Function to generate time stamp in the files name or directories name.
time_stamp(template = c("%Y_%m_%d_%H_%M_%S_", "%Y_%m_%d_%H_%M_", "%Y_%m_%d_%H_", "%Y_%m_%d_", "%Y_%m_", "%Y_"), extra_flag = c("-", "/", "@"))
The template time format with '_'
Using extra flag to replace template '_' and get extra time stamp ['-', '-']
A list
# NOT RUN { time_stamp() # }
Run the code above in your browser using DataLab