|
GPS ToolKit.NET
LastPositionUpdateTime Property
Returns the date and time that the GPS position was last updated.
Syntax
[Visual Basic]
object.LastPositionUpdateTime
[C#]
object.LastPositionUpdateTime
[C++]
object->LastPositionUpdateTime
Parameters
object
An object expression that evaluates to a GPSToolKit object.
Return Value
A DateTime containing the last position update date and time.
Remarks
When the current protocol is NMEA 0183, the communications port may briefly report the correct
fix time, but a date of 1/1/1 shortly after the port is opened. This is because the GPS may report the time of the fix
before reporting the date. When the date is received, the FixDateTime property will be
updated to reflect both date and time.
Default
1/1/1 12:00:00 AM
Errors
None
Example
[Visual Basic]
Dim fixDateTime As DateTime
'Get fix date and time
fixDateTime = myGPSToolKit.LastPositionUpdateTime
[C#]
DateTime fixDateTime;
// Get fix date and time
fixDateTime = myGPSToolKit.LastPositionUpdateTime;
[C++]
DateTime fixDateTime;
// Get fix date and time
fixDateTime = myGPSToolKit->LastPositionUpdateTime;
See Also
PositionUpdate event
|