identify date type