G
GS
is there a way to get a date string or date in datetime to the OLE
automation date type of double equivalent?
automation date type of double equivalent?
sorry, please ignore. I finally found one via Google
http://msdn.microsoft.com/en-us/netframework/aa569606.aspx#Question11
myDateTimeVar.ToOADate()
does the trick for the range of date and datetime that I deal with
Glad that I don`t have deal with any date prior to 1900 (actually the base
date is 12 December 1899 for the OADate)
sorry, please ignore. I finally found one via Google
http://msdn.microsoft.com/en-us/netframework/aa569606.aspx#Question11
myDateTimeVar.ToOADate()
does the trick for the range of date and datetime that I deal with
Jeff Johnson said:I believe you mean the base date is 1899-12-30, which is the 30th of
December, not the 12th.