L_INT16 LDicomDS::GetDateTimeRangeValue(pElement, nIndex, pValue)
Fills the VALUEDATETIMERANGE structure, with the date time range information stored in the Value Field of the specified element.
Pointer to a DICOMELEMENT structure within the Data Set.
Index value that indicates which value to retrieve when more than one value is stored in the Value Field. The index is zero-based.
Pointer to a VALUEDATETIMERANGE structure that will be filled with the date time range value.
|>0||An error occurred. Refer to Return Codes.|
This function can be called only if the Value Representation of the Data Element is VR_DT. For more information about Value Representations, refer to Default Value Representation Table.
Required DLLs and Libraries
For an example, refer to LDicomDS::GetDateRangeValue.
Medical Web Viewer .NET
.NET, Java, Android, and iOS/macOS Assemblies
C API/C++ Class Libraries