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
- dt
Type: System. . :: . .DateTime
The new (local) date and time.
Remarks
This method only sets the local time. It does not set the machine time.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.