A function to check the date variable whether is the right date. This is an internal function.
check_and_tidy_date_first_last(date, date_crossing, name)
date | The last date to compare with. |
---|---|
date_crossing | The border crossing date. |
name | A name of the checking variable. |
The date value that has been verified and reformatted correctly.