TimeSpan structure (windows.foundation.h)

Represents a time interval.

Syntax

typedef struct TimeSpan {
  INT64 Duration;
} TimeSpan;

Members

Duration

Type: INT64

The time interval, in 100-nanosecond units.

Requirements

Requirement Value
Minimum supported client Windows 8
Minimum supported server Windows Server 2012
Header windows.foundation.h

See also

CreateTimeSpan

CreateTimeSpanArray

IPropertyValue::GetTimeSpan

IPropertyValue::GetTimeSpanArray