Share via


MLDateTime (Compact 7)

3/12/2014

This structure contains the timestamp of an item in the media library.

Syntax

typedef struct _MLDateTime {
  SHORT year;
  USHORT month;
  USHORT day;
  USHORT hour;
  USHORT minute;
  USHORT second;
  USHORT fraction;
} MLDateTime;

Members

  • year
    Year portion of the timestamp.
  • month
    Month portion of the timestamp.
  • day
    Day portion of the timestamp.
  • hour
    Hour portion of the timestamp.
  • minute
    Minute portion of the timestamp.
  • second
    Second portion of the timestamp.
  • fraction
    Fraction of a second portion of the timestamp.

Remarks

The timestamp represents any time property of the media item such as the time that the media item was originally created or when it was updated in the library. This structure is returned in a call to IMLPropertySet::GetDateor IMLPropertySet::SetDate.

The range for the variables is as follows:

  • year
    1753-9999
  • month
    1-12
  • day
    1-31
  • hour
    0-23
  • minute
    0-59
  • second
    0-59
  • fraction
    0-65535

Requirements

Header

mlibdll.h,
mlibdll.idl

See Also

Reference

Media Library Structures