Skip to main content

Windows Dev Center

TimeSpan structure

Represents a time interval.

Syntax


typedef struct TimeSpan {
  INT64 Duration;
} TimeSpan;

Members

Duration

Type: INT64

The time interval, in 100-nanosecond units.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Header

Windows.Foundation.h

IDL

Windows.Foundation.idl

See also

IPropertyValue::GetTimeSpan
IPropertyValue::GetTimeSpanArray
CreateTimeSpan
CreateTimeSpanArray