check_date: Check user supplied date string

View source: R/check_date.R

check_dateR Documentation

Check user supplied date string

Description

Will check if date string is well formated and throw an error if not

Usage

check_date(x)

Arguments

x

a character string expected to have format 'YYYY-MM-DD'

Value

object of class 'POSIXlt POSIXt', if x has a valid date of format 'YYYY-MM-DD', otherwise an error is thrown


IVFL-BOKU/sentinel2 documentation built on May 13, 2022, 11:15 p.m.