eq_date: Get Date class date from chracter type date reprezentation:...

Description Usage Arguments Value Note Examples

Description

This function converts chracter type date to Date type date.

Usage

1

Arguments

x

A chracter string reprezenting date in the format of "yyyy-mm-dd" or "-yyyy-mm-dd".

Value

A Date class date corresponding to "yyyy-mm-dd" or "-yyyy-mm-dd".

Note

This can be used to specify the date of earthquake occurence for the other functions' arguments.

Examples

1
2
eq_date("2001-01-01")
eq_date("-2001-01-01")

atibot/eqplot documentation built on May 17, 2019, 4 p.m.