Small date/time hadling optimizations