Back to Devexpress

CalculationOptions.Use1904DateSystem Property

officefileapi-devexpress-dot-spreadsheet-dot-calculationoptions-dot-use1904datesystem.md

latest1.7 KB
Original Source

CalculationOptions.Use1904DateSystem Property

Gets or sets whether the date system used to convert a date to a serial value starts in 1904.

Namespace : DevExpress.Spreadsheet

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

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
bool Use1904DateSystem { get; set; }
vb
Property Use1904DateSystem As Boolean

Property Value

TypeDescription
Boolean

true , if the date system starts in 1904; otherwise, false. Default is false.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to Use1904DateSystem
DocumentSettings

.Calculation .Use1904DateSystem

|

Remarks

False value indicates that calculations use the 1900 date system, where 1/1/1900 is the first day in the system.

See Also

Dates and Times in Cells

CalculationOptions Interface

CalculationOptions Members

DevExpress.Spreadsheet Namespace