Learn R Programming

RSEIS (version 4.2-4)

posix2RSEIS: Posix to RSEIS DATE/TIME

Description

Reformat posix time stamp to RSEIS list

Usage

posix2RSEIS(p)

Value

returns a list of data/time in format RSEIS understands

Arguments

p

posix time, either lt or ct

Author

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

See Also

j2posix

Examples

Run this code
### make up a time:
P1 = as.POSIXct(Sys.time(), "America/New_York")  # in New York
R1 = posix2RSEIS(P1)
## also
unlist( as.POSIXlt(P1))  

Run the code above in your browser using DataLab