Provides helper methods to allow conversion of managed DateTime objects to and from their OLE Automation equivalents and set the system clock.
| C# | Visual Basic |
public static class DateTimeHelper
Public NotInheritable Class DateTimeHelper
| All Members | Methods | ||||
| Icon | Member | Description |
|---|---|---|
| SetSystemTime(DateTime) |
Sets the current system time and date.
The system time is expressed in UTC.
|
| Object | |
| DateTimeHelper | |