Learn R Programming

ngstk (version 0.2.3)

time_stamp: Function to generate time stamp in the files name or directories name.

Description

Function to generate time stamp in the files name or directories name.

Usage

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("-", "/", "@"))

Arguments

template

The template time format with '_'

extra_flag

Using extra flag to replace template '_' and get extra time stamp ['-', '-']

Value

A list

Examples

Run this code
# NOT RUN {
time_stamp()
# }

Run the code above in your browser using DataLab