dateTime 结构 (windows.foundation.h)

表示某个时刻,通常以日期和当天的时间表示。

语法

typedef struct DateTime {
  INT64 UniversalTime;
} DateTime;

成员

UniversalTime

类型: INT64

自 UTC 时间 1601 年 1 月 1 日午夜 12:00:00 以来经过的 100 纳秒间隔数。

要求

   
最低受支持的客户端 Windows 8
最低受支持的服务器 Windows Server 2012
标头 windows.foundation.h

另请参阅

CreateDateTime

CreateDateTimeArray

IPropertyValue::GetDateTime

IPropertyValue::GetDateTimeArray