MI_Timestamp structure (mi.h)

MI_Timestamp specifies a timestamp or a specific point in time.

Syntax

typedef struct _MI_Timestamp {
  MI_Uint32 year;
  MI_Uint32 month;
  MI_Uint32 day;
  MI_Uint32 hour;
  MI_Uint32 minute;
  MI_Uint32 second;
  MI_Uint32 microseconds;
  MI_Sint32 utc;
} MI_Timestamp;

Members

year

A four digit number representing the year in the form yyyy.

month

A two digit number representing the month in the form mm. (01-12)

day

A two digit number representing the day of the month in the form dd. (01-31)

hour

A two digit number representing the hour on a 24-hour clock in the form hh. (00-23)

minute

A two digit number representing minutes in the form mm. (00-59)

second

A two digit number representing seconds in the form ss. (00-59)

microseconds

A six digit number in the form mmmmmm representing the microseconds. (000000-999999)

utc

The offset from Coordinated Universal Time in minutes. Timezones west of Greenwich use negative numbers while timezones east of Greenwich use positive numbers.

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