共用方式為


WMDMDATETIME

banner art

The WMDMDATETIME structure contains a date and time of day.

Syntax

typedef struct _WMDMDATETIME{WORD  wYear;WORD  wMonth;WORD  wDay;WORD  wHour;WORD  wMinute;WORD  wSecond;} WMDMDATETIME, *PWMDMDATETIME;

Members

wYear

Word containing the four-digit year.

wMonth

Word containing the month (1-12).

wDay

Word containing the day of the month (1-31).

wHour

Word containing the hour (0-23).

wMinute

Word containing the minute (0-59).

wSecond

Word containing the second (0-59).

Requirements

Header: Defined in wmdm.idl.

Library: mssachlp.lib

See Also