Learn R Programming

GGIR (version 3.2-0)

is.ISO8601: Check whether character timestamp is in iso8601 format.

Description

Checks whether timestamp stored in character format is in ISO8601 format or not

Usage

is.ISO8601(x)

Arguments

x

Timestamps in character format either in ISO8601 or as "yyyy-mm-dd hh:mm:ss".

Examples

Run this code
x ="1980-1-1 18:00:00"
is.ISO8601(x)

Run the code above in your browser using DataLab