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.

Syntax

LONG GetLocalOffsetForDate(
  const SYSTEMTIME *pst
);

Parameters

pst

TBD

Return value

Returns the offset in minutes (+ or -) between GMT and local time for the time supplied in the argument.

Remarks

These are public static functions which permit their usage anywhere without having a WBEMTime object.

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header wbemtime.h
DLL FrameDynOS.dll; FrameDyn.dll