Utility.SetLocalTime Method
Sets the system to the local time.
Namespace: Microsoft.SPOT.Hardware
Assembly: Microsoft.SPOT.Hardware (in microsoft.spot.hardware.dll)
Syntax
[MethodImplAttribute]
public static void SetLocalTime (
DateTimedt
)
Parameters
- dt
The new (local) date and time.
Remarks
This method only sets the local time. It does not set the machine time.
Version Information
Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, and 4.1.
See Also
Reference
Utility Class
Utility Members
Microsoft.SPOT.Hardware Namespace