updating parseDate parameters when checking for inputed date