Export (0) Print
Expand All

Utility.SetLocalTime Method

Sets the system to the local time.

Namespace: Microsoft.SPOT.Hardware
Assembly: Microsoft.SPOT.Hardware (in microsoft.spot.hardware.dll)


[MethodImplAttribute]
public static void SetLocalTime (
         DateTime dt
)

Parameters

dt
The new (local) date and time.

This method only sets the local time. It does not set the machine time.

Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, and 4.1.

Community Additions

ADD
Show:
© 2014 Microsoft