Skip to main content
DateTime structure

Represents an instant in time, typically expressed as a date and time of day.

Syntax


typedef struct DateTime {
  INT64 UniversalTime;
} DateTime;

Members

UniversalTime

Type: INT64

The number of 100-nanosecond intervals that have elapsed since 12:00:00 midnight on January 1, 1601 CE, UTC time.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Header

Windows.Foundation.h

IDL

Windows.Foundation.idl

See also

IPropertyValue::GetDateTime
IPropertyValue::GetDateTimeArray
CreateDateTime
CreateDateTimeArray