Im reading data from a VB random file.
In C++ the 8 byte __int64 value is: 467476252661173 4528
The actual date is: 26/03/1990
The dateticks value found in VB is : 627740064000000 000
I am trying to find the date or dateticks value from the C++ value using C++ only.
Im assuming the int64 value correlates somehow to the dateticks, but as you can see, the int64 value is much larger than the dateticks value.
I have read: http://msdn.microsoft.com/en-us/libr...6e(VS.80).aspx
but I have no idea what to do.. Any help is much appreciated. Thanks,
Regards,
Dave
(The following date code in VB works:
Public datum As Date
VB6.Format(Data Record.date, "YYYY-MM-DD") )
In C++ the 8 byte __int64 value is: 467476252661173 4528
The actual date is: 26/03/1990
The dateticks value found in VB is : 627740064000000 000
I am trying to find the date or dateticks value from the C++ value using C++ only.
Im assuming the int64 value correlates somehow to the dateticks, but as you can see, the int64 value is much larger than the dateticks value.
I have read: http://msdn.microsoft.com/en-us/libr...6e(VS.80).aspx
but I have no idea what to do.. Any help is much appreciated. Thanks,
Regards,
Dave
(The following date code in VB works:
Public datum As Date
VB6.Format(Data Record.date, "YYYY-MM-DD") )
Comment