Edit

Share via


NmeaSentence.AgeTo(DateTimeOffset) Method

Definition

The relative age of this sentence against a time stamp. Useful when analyzing recorded data, where "now" should also be a time in the past.

public TimeSpan AgeTo (DateTimeOffset now);
member this.AgeTo : DateTimeOffset -> TimeSpan
Public Function AgeTo (now As DateTimeOffset) As TimeSpan

Parameters

now
DateTimeOffset

Time to compare against

Returns

The time difference

Applies to