Refactored date/time property conversion.