pydicom.values.convert_DA_string¶
- 
pydicom.values.convert_DA_string(byte_string: bytes, is_little_endian: bool, struct_format: Optional[str] = None) → Union[str, pydicom.valuerep.DA, Sequence[Union[str, pydicom.valuerep.DA]]][source]¶
- Return a decoded ‘DA’ value. - Parameters
- Returns
- If - datetime_conversionis- Truethen returns either- DAor a- listof- DA, otherwise returns- stror- listof- str.
- Return type
- str or MultiValue of str or valuerep.DA or MultiValue of valuerep.DA