AccurateLocalTimeSource Class |
Namespace: NLog.Time
The AccurateLocalTimeSource type exposes the following members.
Name | Description | |
---|---|---|
AccurateLocalTimeSource | Initializes a new instance of the AccurateLocalTimeSource class |
Name | Description | |
---|---|---|
Time |
Gets current local time directly from DateTime.Now.
(Overrides TimeSourceTime.) |
Name | Description | |
---|---|---|
FromSystemTime |
Converts the specified system time to the same form as the time value originated from this time source.
(Overrides TimeSourceFromSystemTime(DateTime).) | |
ToString |
Returns a String that represents this instance.
(Inherited from TimeSource.) |