'Declaration
Function NumberToDateTime( _
ByVal 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
)
Parameters
- number
- The date-time serial number to convert.
Return Value
An instance of System.DateTime initialized with the converted date-time serial number.
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