Updated DATE type conversion