rgexf (version 0.15.3)

checkTimes: 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.

Examples

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

Run the code above in your browser using DataLab