MI_Datetime structure (mi.h)
Represents a union of MI_Timestamp and MI_Interval.
Syntax
typedef struct _MI_Datetime {
MI_Uint32 isTimestamp;
union {
MI_Timestamp timestamp;
MI_Interval interval;
} u;
} MI_Datetime;
Members
isTimestamp
If isTimestamp is nonzero, timestamp is used. If isTimestamp is 0, interval is used.
u
u.timestamp
If isTimestamp is nonzero, MI_Datetime is used to represent an absolute date/time.
u.interval
If isTimestamp is nonzero, MI_Datetime is used to represent a relative date/time from when it is needed.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8 |
Minimum supported server | Windows Server 2012 |
Header | mi.h |
Redistributable | Windows Management Framework 3.0 on Windows Server 2008 R2 with SP1, Windows 7 with SP1, and Windows Server 2008 with SP2 |