SpreadsheetGear Namespace > IWorkbook Interface : NumberToDateTime Method |
'Declaration
Function NumberToDateTime( _ ByVal number As System.Double _ ) As System.Date
'Usage
Dim instance As IWorkbook Dim number As System.Double Dim value As System.Date value = instance.NumberToDateTime(number)
System.DateTime NumberToDateTime( System.double number )
function NumberToDateTime( number: System.Double ): System.DateTime;
function NumberToDateTime( number : System.double ) : System.DateTime;
System.DateTime NumberToDateTime( System.double number )
System.DateTime NumberToDateTime( System.double number )
Dates and times are stored in worksheet cells as a date-time serial number.
This method is safe to use from custom functions.
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