TimeService.UpdateNow Method (UInt32)
Immediately syncs with time servers using the Primary and Alternate server IP that has already been set via settings.
Namespace: Microsoft.SPOT.Time
Assembly: Microsoft.SPOT.Time (in microsoft.spot.time.dll)
Syntax
public static TimeServiceStatus UpdateNow (
UInt32tolerance
)
Parameters
- tolerance
The maximum allowable difference between the system time and the server time before the time is re-synchronized, in milliseconds.
Return Value
The status of the time service.
Version Information
Available in the .NET Micro Framework versions 4.0 and 4.1.
See Also
Reference
TimeService Class
TimeService Members
Microsoft.SPOT.Time Namespace