pydicom.config.datetime_conversion

pydicom.config.datetime_conversion = False

Set to True to convert the value(s) of elements with a VR of DA, DT and TM to datetime.date, datetime.datetime and datetime.time respectively.

Default False