Skip to contents

Check User Input Dates for Validity

Usage

.check_date(x)

Arguments

x

User entered date value

Value

Validated date string as a POSIXct object.

Note

This was taken from nasapower.

Author

Adam H. Sparks adamhsparks@curtin.edu.au

Examples

.check_date("2024-01-01")
#> Error in .check_date("2024-01-01"): could not find function ".check_date"