Click or drag to resize
FormatHelperToDateTime Method
Converts a NumberCellValue instance to DateTime.

Namespace: Telerik.Windows.Documents.Spreadsheet.Formatting
Assembly: Telerik.Windows.Documents.Spreadsheet (in Telerik.Windows.Documents.Spreadsheet.dll) Version: 2017.3.1010.40 (2017.3.1010.40)
public static Nullable<DateTime> ToDateTime(
	this NumberCellValue numberCellValue


Type: Telerik.Windows.Documents.Spreadsheet.ModelNumberCellValue
The number cell value.

Return Value

Type: NullableDateTime
The DateTime instance.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type NumberCellValue. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also