R: Checks for correct time format

checkTimes {rgexf} | R Documentation

## Checks for correct time format

### Description

Checks time

### Usage

    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 george.vega@nodoschile.org,

Jorge Fabrega Lacoa jorge.fabrega@nodoschile.org

### Examples

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

[Package rgexf version 0.15.3 Index]