System Time to "Variant Time" - method in Active-X control expects Double...

  • Thread starter Thread starter Robin Tucker
  • Start date Start date
R

Robin Tucker

I have an active-X control (ATl/C++) that expects a date as Variant Time (a
double). How can I convert a date in VB.NET into such a double?

Any help would be much appreciated.

thanks.
 
Robin Tucker said:
I have an active-X control (ATl/C++) that expects a date as Variant
Time (a double). How can I convert a date in VB.NET into such a
double?

Call the date's ToOADate function returning the _O_le _A_utomation Date as a
double value.
 
Back
Top