Share via


SetTimeZoneOffset Method

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

Sets the time zone of the system.

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

Syntax

'Declaration
Public Shared Sub SetTimeZoneOffset ( _
    offsetInMinutes As Integer _
)
public static void SetTimeZoneOffset(
    int offsetInMinutes
)
public:
static void SetTimeZoneOffset(
    int offsetInMinutes
)
static member SetTimeZoneOffset : 
        offsetInMinutes:int -> unit 
public static function SetTimeZoneOffset(
    offsetInMinutes : int
)

Parameters

Remarks

Sets the time zone of the system, effective immediately.

.NET Framework Security

See Also

Reference

TimeService Class

Microsoft.SPOT.Time Namespace