file_timestamp: Make a file path compliant ISO8601 timestamp

View source: R/utils_date_time.R

file_timestampR Documentation

Make a file path compliant ISO8601 timestamp

Description

Make a file path compliant ISO8601 timestamp

Usage

file_timestamp(x = Sys.time(), tzone = "")

Arguments

x

Datetime

tzone

a character string containing the time zone to convert to. R must recognize the name contained in the string as a time zone on your system.

Value

chr of timestamp

Examples

fs::path(paste0("file_", file_timestamp()), ext = "zip")

yogat3ch/UU documentation built on May 31, 2024, 10:14 p.m.