Date check added.