Learn R Programming

RSEIS (version 3.7-4)

j2posix: Convert RSEIS date list to Posix

Description

Convert RSEIS date list to a cmpatable date/time for calculating dates and times with base R codes.

Usage

j2posix(timeinput)

Arguments

timeinput

RSEIS date-time list

Value

POSIX compatable date time structure.

Details

Code here converts to posix, but works only down to the second, i.e. fractions of a second are dropped.

See Also

recdate, recdatel, dateList, dateStamp, filedatetime, rangedatetime, yeardate, Zdate, as.POSIXct

Examples

Run this code
# NOT RUN {
yr = 2014
j = 233.1234
A = convertATT(j, yr)
j2posix(A)
### note fractional seconds are truncated.
# }

Run the code above in your browser using DataLab