Sets the local clock to the specified value (in local time).
Namespace:
RebexAssembly: Rebex.Net.Time (in Rebex.Net.Time.dll) Version: 2.0.4086.0
Syntax
| C# |
|---|
public static void SetClock( DateTime newTime ) |
| Visual Basic (Declaration) |
|---|
Public Shared Sub SetClock ( _ newTime As DateTime _ ) |
| Visual C++ |
|---|
public: static void SetClock( DateTime newTime ) |
Parameters
- newTime
- Type: System..::.DateTime
The new date and time.