Share via


SetUtcTime Method

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

Sets the UTC time of the system.

Namespace:  Microsoft.SPOT.Time
Assembly:  Microsoft.SPOT.Time (in Microsoft.SPOT.Time.dll)

Syntax

'Declaration
Public Shared Sub SetUtcTime ( _
    utcTimeInTicks As Long _
)
public static void SetUtcTime(
    long utcTimeInTicks
)
public:
static void SetUtcTime(
    long long utcTimeInTicks
)
static member SetUtcTime : 
        utcTimeInTicks:int64 -> unit 
public static function SetUtcTime(
    utcTimeInTicks : long
)

Parameters

Remarks

The change is reflected immediately.

.NET Framework Security

See Also

Reference

TimeService Class

Microsoft.SPOT.Time Namespace