Click or drag to resize

CellValueTryGetDateTime Method

Attempts to parse cell value to retrieve a DateTime.

Namespace: DocumentFormat.OpenXml.Spreadsheet
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll) Version: 2.20.0+Branch.release-v2.20.0.Sha.a873d3fbff9bffe179fea62486da950adf5be65d.a873d3fbff9bffe179fea62486da950adf5be65d
Syntax
public bool TryGetDateTime(
	out DateTime dt
)

Parameters

dt  DateTime
The result if successful.

Return Value

Boolean
Success or failure
See Also