Consistent date handling