Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

filedatetime

Create a character string from a date


Description

Create a character string from a date for naming unique output files.

Usage

filedatetime(orgtim, tims=0, datesep="-", timesep=":", secsep="_")

Arguments

orgtim

time vector of length 5: c(yr, jd, hr, mi, sec)

tims

seconds to add to orgtim, default=0

datesep

character, seperater for the date

timesep

character, seperator for the time

secsep

character, seperator for the seconds

Value

filename

character string

Author(s)

Jonathan M. Lees<jonathan.lees@unc.edu>

Examples

data(GH)

g1 <- getGHtime(GH)
g2 <- unlist(g1)

filedatetime(g2, 1)

RSEIS

Seismic Time Series Analysis Tools

v3.9-3
GPL (>= 2)
Authors
Jonathan M. Lees [aut, cre], Jake Anderson [ctb], Leonard Lisapaly [ctb], Dave Harris [aut, cph]
Initial release
2020-08-25

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.