A small DateTime check added.