append_timestamp: Append a Timestamp to the End of a File Name

View source: R/utilities.R

append_timestampR Documentation

Append a Timestamp to the End of a File Name

Description

Append a Timestamp to the End of a File Name

Usage

append_timestamp(x, format = "%y%m%d%H%M%S", delim = "_")

Arguments

x

file name to which a time stamp string should be appended.

format

character string representing how the timestamp should appear

delim

delimiter between original file name of x and the timestamp

Value

file name with time stamp string appended

Examples

append_timestamp("my_file.txt")

the-mad-statter/washu documentation built on May 11, 2023, 7:24 p.m.