Updated date handling.