SpreadsheetGear 2023
Date1904 Property (IWorkbook)


SpreadsheetGear Namespace > IWorkbook Interface : Date1904 Property
Returns true if dates are represented as the number of days since 1/1/1904, false if dates are represented as the number of days since 12/31/1899.
Syntax
'Declaration
 
ReadOnly Property Date1904 As System.Boolean
'Usage
 
Dim instance As IWorkbook
Dim value As System.Boolean
 
value = instance.Date1904
System.bool Date1904 {get;}
Remarks
The default value is false. Note that, for historical reasons, 1900 is incorrectly considered to be a leap year.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

IWorkbook Interface
IWorkbook Members