Last three positions in a file I just 'edited' to add the correct start and end and some intermediate positions. Note the date and time of the LAST new position, which was inserted today AFTER the last recorded position to take the ending point of the track to the location of my building's garage ramp. While the first of the three is also an added position, it kept the correct date, and calculated a time. The LAST new position, however, used the time I added the position, instead of keeping the correct date. I know it had nothing after that position to use to calculate the correct time but better than what has happened would be to use the prior two date and time values to calculate the date and time based on keeping the same speed as an assumption of the speed of travel in calculating the correct date and approximate time to use for this new position.
<trkpt lon="-79.41656649112701" lat="43.769184054991285">
<ele>179.0</ele>
<time>2010-10-07T00:41:59.875Z</time>
<name>New position {0}</name>
</trkpt>
<trkpt lon="-79.41643238067627" lat="43.768723068636">
<ele>179.0</ele>
<time>2010-10-07T00:42:05.000Z</time>
<name>Position 95</name>
<extensions>
<nmea:speed>34.79410536585366</nmea:speed>
</extensions>
</trkpt>
<trkpt lon="-79.4136106967926" lat="43.76209454430009">
<ele>185.0</ele>
<time>2010-11-14T07:38:21.671Z</time>
<name>New position {0}</name>
</trkpt>
<trkpt lon="-79.41656649112701" lat="43.769184054991285">
<ele>179.0</ele>
<time>2010-10-07T00:41:59.875Z</time>
<name>New position {0}</name>
</trkpt>
<trkpt lon="-79.41643238067627" lat="43.768723068636">
<ele>179.0</ele>
<time>2010-10-07T00:42:05.000Z</time>
<name>Position 95</name>
<extensions>
<nmea:speed>34.79410536585366</nmea:speed>
</extensions>
</trkpt>
<trkpt lon="-79.4136106967926" lat="43.76209454430009">
<ele>185.0</ele>
<time>2010-11-14T07:38:21.671Z</time>
<name>New position {0}</name>
</trkpt>
