cDateTime: ToOADate |
Converts the current instance to an Ole Automation date representation that is normally used in Visual Basic.
Public Function ToOADate ( ) As Date
It is possible that this instance holds a date outside of the valid range of dates that Visual Basic can represent. If this happens, then a normal VB error will be raised during the assignment.
Project VBCorLib Overview Class cDateTime Overview cDateTime Properties cDateTime Methods ToLongTimeString ToShortDateString