Share via


Geocoordinate.PositionSourceTimestamp Property

Definition

Gets the time at which the associated Geocoordinate position was calculated.

public:
 property IReference<DateTime> ^ PositionSourceTimestamp { IReference<DateTime> ^ get(); };
IReference<DateTime> PositionSourceTimestamp();
public System.Nullable<System.DateTimeOffset> PositionSourceTimestamp { get; }
var iReference = geocoordinate.positionSourceTimestamp;
Public ReadOnly Property PositionSourceTimestamp As Nullable(Of DateTimeOffset)

Property Value

The time at which the associated Geocoordinate position was calculated.

Windows requirements

App capabilities
location

Remarks

When this property is not available, the value will be NULL.

The timestamp returned by this property depends on how the location was obtained and may be completely unrelated to the system time on the device. For example, if the position is obtained from the Global Navigation Satellite System (GNSS) the timestamp would be obtained from the satellites. If the position is obtained from Secure User Plane Location (SUPL), the timestamp would be obtained from SUPL servers. This means that the timestamps obtained from these services will be precise and, most importantly, consistent across all devices regardless of whether the system time on the devices is set correctly.

Applies to