Share via


TimeService.SetUtcTime Method

Sets the UTC time of the system.

Namespace: Microsoft.SPOT.Time
Assembly: Microsoft.SPOT.Time (in microsoft.spot.time.dll)

Syntax

[MethodImplAttribute(InternalCall)]
public static void SetUtcTime (
         longutcTimeInTicks
)

Parameters

  • utcTimeInTicks
    The UTC time, in ticks.

Remarks

The change is reflected immediately.

Version Information

Available in the .NET Micro Framework versions 4.0 and 4.1.

See Also

Reference

TimeService Class
TimeService Members
Microsoft.SPOT.Time Namespace