date validation for checkin and out