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 todatetime.date
,datetime.datetime
anddatetime.time
respectively. Note that when datetime conversion is enabled then range matching in C-GET/C-FIND/C-MOVE queries is not possible anymore. So if you need range matching we recommend to do the conversion manually.Default
False
References