timezone 썸네일형 리스트형 How to convert between timezones with win32 API? Reference : http://weseetips.com/2008/05/28/how-to-convert-local-system-time-to-utc-or-gmt/ // Get the local system time. SYSTEMTIME LocalTime = { 0 }; GetSystemTime( &LocalTime ); // Get the timezone info. TIME_ZONE_INFORMATION TimeZoneInfo; GetTimeZoneInformation( &TimeZoneInfo ); // Convert local time to UTC. SYSTEMTIME GmtTime = { 0 }; TzSpecificLocalTimeToSystemTime( &TimeZoneInfo, &LocalTi.. 더보기 이전 1 다음