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
- offsetInMinutes
Type: System. . :: . .Int32
The time zone offset.
Remarks
Sets the time zone of the system, effective immediately.
.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.