Share via


ActivitySensorReading.Timestamp Property

Definition

Gets the time at which the sensor reported the reading.

public:
 property DateTime Timestamp { DateTime get(); };
DateTime Timestamp();
public System.DateTimeOffset Timestamp { get; }
var dateTime = activitySensorReading.timestamp;
Public ReadOnly Property Timestamp As DateTimeOffset

Property Value

The instant in time when the sensor reported the reading.

Windows requirements

App capabilities
activity

Applies to