pydicom.values.convert_DT_string¶
-
pydicom.values.convert_DT_string(byte_string, is_little_endian, struct_format=None)[source]¶ Return a decoded ‘DT’ value.
- Parameters
- Returns
if
datetime_conversionisTruethen returnsDTor alistofDT, otherwise returnsstrorlistofstr.- Return type
str or list of str or valuerep.DT or list of DT