WBEMTime::GetDMTF method

[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 GetDMTF method converts a BSTR value to CIM Date and Time Format.

Syntax

BSTR  throw(CHeap_Exception) GetDMTF(
  BOOL bLocal
);

Parameters

bLocal

If TRUE, returns the local time, adjusted for daylight savings time; otherwise, returns GMT.

Return Value

Returns a BSTR in Date and Time Format.

Remarks

The calling function must call SysFreeString on the return value.

Requirements

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

See Also

WBEMTime

WBEMTime::GetBSTR

WBEMTime::SetDMTF