Learn R Programming

RSEIS (version 2.1-6)

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)

Arguments

orgtim
time vector of length 5: c(yr, jd, hr, mi, sec)
tims
seconds to add to orgtim

Value

  • filenamecharacter string

Examples

Run this code
data(GH)

g1 = getGHtime(GH)
g2 = unlist(g1)

filedatetime(g2, 1)

Run the code above in your browser using DataLab