time_stamp: Time Stamps for File Names

Description Usage Arguments Value Examples

View source: R/time_stamp.R

Description

Generating file name ready iso time stamps.

Usage

1
time_stamp(ts = Sys.time(), sep = c("-", "_", "_"))

Arguments

ts

one or more POSIX time stamp

sep

separators to be used for formatting

Value

Returns timestamp string in format yyyy-mm-dd_HH_MM_SS ready to be used safely in file names on various operating systems.

Examples

1
2

dsmisc documentation built on Sept. 13, 2020, 5:21 p.m.