WBEMTime::GetLocalOffsetForDate(constSYSTEMTIME) method (wbemtime.h)
[The WBEMTime class is part of the WMI Provider Framework which is now considered in final state, and no further development, enhancements, or updates will be available for non-security related issues affecting these libraries. The MI APIs should be used for all new development.]
The GetLocalOffsetForDate method returns the offset in minutes (+ or –) between GMT and local time for the FILETIME supplied in the argument.
LONG GetLocalOffsetForDate( const SYSTEMTIME *pst );
Returns the offset in minutes (+ or -) between GMT and local time for the time supplied in the argument.
These are public static functions which permit their usage anywhere without having a WBEMTime object.
|Minimum supported client||Windows Vista|
|Minimum supported server||Windows Server 2008|