| check_date {oeli} | R Documentation |
Check date format
Description
This function checks if the input date has the format
"YYYY-MM-DD".
Usage
check_date(date)
Arguments
date |
A |
Value
as.Date(date) if date has the format "YYYY-MM-DD".
Otherwise, the function throws an error.
Examples
check_date(date = "2000-01-01")
[Package oeli version 0.5.2 Index]