Reduce dependency on the Date package.