Back to Devexpress

ValueObject.GetDateTimeValue(Boolean) Method

officefileapi-devexpress-dot-spreadsheet-dot-valueobject-dot-getdatetimevalue-x28-system-dot-boolean-x29.md

latest1.5 KB
Original Source

ValueObject.GetDateTimeValue(Boolean) Method

Converts the object’s value to DateTime and returns the result.

Namespace : DevExpress.Spreadsheet

Assembly : DevExpress.Spreadsheet.v25.2.Core.dll

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
public DateTime GetDateTimeValue(
    bool use1904DateSystem
)
vb
Public Function GetDateTimeValue(
    use1904DateSystem As Boolean
) As Date

Parameters

NameTypeDescription
use1904DateSystemBoolean

true , if the 1904 date system is used; otherwise, false.

|

Returns

TypeDescription
DateTime

A DateTime object.

|

See Also

Dates and Times in Cells

ValueObject Class

ValueObject Members

DevExpress.Spreadsheet Namespace