DateTime_FromOADate(ClrDouble,ClrDateTime) Method

<< Click to Display Table of Contents >>

Navigation:  Symbol Reference > .Net Native Interface Library > API Functions > .Net DateTime Functions >

DateTime_FromOADate(ClrDouble,ClrDateTime) Method

Previous pageReturn to chapter overviewNext page
Show/Hide Hidden Text

Returns a system DateTime equivalent to the specified OLE AutomationDate.

 

expandingC/C++ Syntax
expandingPascal Syntax

 

Parameters

DateTimeAsDouble

Type: ClrDouble

An OLE Automation Date value.

DateTime

Type: ClrDateTime

An object that represents the same date and time as DateTimeAsDouble.

Return Value

Type: HRESULT

If the function succeeds, the return value is zero.
If the function fails, the return value is the error code. To get extended error information, call Exception_GetExceptionForErrorCode.

 

expandingExceptions

 

expandingRemarks

 

expandingExamples

 

 

expandingSee Also