check_datetime_format: Check a datetime argument is in a suitable format

View source: R/check_params.R

check_datetime_formatR Documentation

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


octopusR documentation built on July 9, 2023, 6:04 p.m.