Simple check for dates