pydicom.values.convert_TM_string¶
- pydicom.values.convert_TM_string(byte_string: bytes, is_little_endian: bool, struct_format: Optional[str] = None) Union[str, TM, MutableSequence[str], MutableSequence[TM]][source]¶
Return a decoded ‘TM’ value.
- Parameters
- Returns
If
datetime_conversionisTruethen returns eitherTMor alistofTM, otherwise returnsstrorlistofstr.- Return type
str or list of str or valuerep.TM or list of valuerep.TM