Ram Baruch
2005-01-19 09:28:03 UTC
Hi,
The example in the msdn for CTime::GetTime() is something like:
CTime t( 1999, 10, 20, 23, 50, 0 ); // 11:50 PM October 20, 1999
time_t osBinaryTime = t.GetTime(); // time_t defined in <time.h>
printf( "time_t = %ld\n", osBinaryTime );
but CTime::GetTime() returns __time64_t. There is a casting from the 64 bit
version to the 32 bit version.
Do we loose important information in this case?
If so, someone should fix this example!
Regards,
Ram.
The example in the msdn for CTime::GetTime() is something like:
CTime t( 1999, 10, 20, 23, 50, 0 ); // 11:50 PM October 20, 1999
time_t osBinaryTime = t.GetTime(); // time_t defined in <time.h>
printf( "time_t = %ld\n", osBinaryTime );
but CTime::GetTime() returns __time64_t. There is a casting from the 64 bit
version to the 32 bit version.
Do we loose important information in this case?
If so, someone should fix this example!
Regards,
Ram.