Class DateTimeExtension
Inheritance
System.Object
    DateTimeExtension
  Namespace: Syncfusion.XlsIO.Implementation
Assembly: Syncfusion.XlsIO.UWP.dll
Syntax
public static class DateTimeExtension : Object
  Methods
FromOADate(Double)
Returns a DateTime equivalent to the specified OLE Automation Date.
Declaration
public static DateTime FromOADate(double doubleOLEValue)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Double | doubleOLEValue | An OLE Automation Date value.  | 
      
Returns
| Type | Description | 
|---|---|
| System.DateTime | An object that represents the same date and time as d.  | 
      
ToOADate(DateTime)
Converts the value of this instance to the equivalent OLE Automation date.
Declaration
public static double ToOADate(this DateTime inDateTime)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.DateTime | inDateTime | 
Returns
| Type | Description | 
|---|---|
| System.Double | A double-precision floating-point number that contains an OLE Automation date equivalent to the value of this instance.  |