checkTimes: Checks for correct time format

Description Usage Arguments Value Author(s) Examples

View source: R/bugs.R

Description

Checks time

Usage

1
checkTimes(x, format = "date")

Arguments

x

A string or vector char

format

String, can be “date”, “dateTime”, “float”

Value

Logical.

Author(s)

George Vega Yon

Jorge Fabrega Lacoa

Examples

1
2
3
  test <- c("2012-01-17T03:46:41", "2012-01-17T03:46:410")
  checkTimes(test, format="dateTime")
  checkTimes("2012-02-01T00:00:00", "dateTime")

gvegayon/rgexf documentation built on Oct. 25, 2021, 4:21 p.m.