Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Call this method to convert time based on the Coordinated Universal Time (UTC) to local file time.
CFileTime UTCToLocal( ) const throw( );
Return Value
Returns a CFileTime object containing the time in local file time format.
Example
// Convert a UTC time to local file time format
CFileTime myUTC_FT, myL_FT;
// Get system time (in UTC format)
myUTC_FT = CFileTime::GetCurrentTime();
// Convert to local file time
myL_FT = myUTC_FT.UTCToLocal();
Requirements
Header: atltime.h