Simplify date settings a bit.