|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer|
Breaking Changes (ATL)
Breaking changes in ATL.
In the overload COleDateTime& operator=(const FILETIME& filetimeSrc), the FILETIME value is correctly converted and copied into this COleDateTime object. If the conversion is successful, the status of this object is set to valid; if unsuccessful, it is set to invalid. FILETIME uses Universal Coordinated Time (UTC), so if you pass a local time in the structure, your results will be converted from local file time to system time to variant time. Note that this corrected behavior is the same as in Visual C++ 6.0 and Visual C++.NET 2003 SP2. See File Times in the Platform SDK for more information.