WBEMTime::GetDMTFNonNtfs 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 GetDMTFNonNtfs method gets a DMTF date in a CIM Date and Time Format from a FAT that does not have time zones.

Syntax

BSTR GetDMTFNonNtfs();

Return value

Returns a BSTR in Date and Time Format.

Remarks

The calling function must call SysFreeString on the return value.

The time property of WBEMTime is held in GMT. The GetDMTFNonNtfs method adjusts this time to local time, converts it to a DMTF string, and sets the UTC to "***". This is compatible with the Microsoft Windows API methods which return time without being time-zone aware.

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