Learn R Programming

octopusR (version 1.0.1)

check_datetime_format: Check a datetime argument is in a suitable format

Description

Check if a given argument is of a proper ISO 8601 format e.g. 2023-03-02T21:26:10Z. If not it will give an informative error message.

Usage

check_datetime_format(arg_date)

Arguments

arg_date

The argument to check