Date time conversion tools, useful in connection with package etasFLP for earthquake description. Base date is Jan. 1st 1900.
Usage
time2date(t)
timecharunique2seq(timestring)
Arguments
t
seconds elapsed from 1900-1-1.
timestring
A time string.
Value
time2date returns a character string; timecharunique2seq returns a list:
charthe input string.
secseconds elapsed from the base date.
daydays elapsed from the base date.
Details
time2date converts sequential time in seconds into character string;
timecharunique2seq converts character times of catalogs into sequential time (seconds elapsed from the base date): the input is a single string.