Click or drag to resize

DateTimeValueToDateTime Method

Returns the DateTime value representation of a DateTimeValue object.

Namespace: DocumentFormat.OpenXml
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll) Version: 2.20.0+Branch.release-v2.20.0.Sha.a873d3fbff9bffe179fea62486da950adf5be65d.a873d3fbff9bffe179fea62486da950adf5be65d
Syntax
public static DateTime ToDateTime(
	DateTimeValue value
)

Parameters

value  DateTimeValue
A DateTimeValue object used to retrieve a DateTime value representation.

Return Value

DateTime
A DateTime value that represents a DateTimeValue object.
See Also