added iso check to compare dates