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 .NET Micro Framework version 2.0, 2.5

See Also

Reference

Utility Class
Utility Members
Microsoft.SPOT.Hardware Namespace