IsPosixct: Test if a charachter string represents a date

Description Usage Arguments Value Examples

View source: R/internal.R

Description

Test if a charachter string represents a date

Usage

1
IsPosixct(string)

Arguments

string

Character string with data to test if it is a Posixct date

Value

A boolean with TRUE if string contains a date and FALSE otherwise

Examples

1
2
3
4
5
6
7
8
## Not run: 
# Returns TRUE
IsPosixct("2010-01-01")

#Returns FALSE
IsPosixct("2010j01-xx")

## End(Not run)

eregmig/earthquake documentation built on May 17, 2019, 7:04 p.m.