pydicom.values.convert_DA_string¶
- pydicom.values.convert_DA_string(byte_string: bytes, is_little_endian: bool, struct_format: str | None = None) str | DA | MutableSequence[str] | MutableSequence[DA] [source]¶
Return a decoded ‘DA’ value.
- Parameters:
- Returns:
If
datetime_conversion
isTrue
then returns eitherDA
or alist
ofDA
, otherwise returnsstr
orlist
ofstr
.- Return type:
str or MultiValue of str or valuerep.DA or MultiValue of valuerep.DA