Share via


SetLocalTime Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Sets the system to the local time.

Namespace:  Microsoft.SPOT.Hardware
Assembly:  Microsoft.SPOT.Native (in Microsoft.SPOT.Native.dll)

Syntax

'Declaration
Public Shared Sub SetLocalTime ( _
    dt As DateTime _
)
public static void SetLocalTime(
    DateTime dt
)
public:
static void SetLocalTime(
    DateTime dt
)
static member SetLocalTime : 
        dt:DateTime -> unit 
public static function SetLocalTime(
    dt : DateTime
)

Parameters

Remarks

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

.NET Framework Security

See Also

Reference

Utility Class

Microsoft.SPOT.Hardware Namespace