Sets the local clock to the specified value (in local time).

Namespace:  Rebex
Assembly:  Rebex.Time (in Rebex.Time.dll)

Syntax

Visual Basic
Public Shared Sub SetClock ( _
	newTime As DateTime _
)
C#
public static void SetClock(
	DateTime newTime
)

Parameters

newTime
Type: System..::..DateTime
The new date and time.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also