Click or drag to resize
AccurateLocalTimeSource Class
Current local time retrieved directly from DateTime.Now.
Inheritance Hierarchy

Namespace: NLog.Time
Assembly: NLog (in NLog.dll) Version: 4.3.0
Syntax
public class AccurateLocalTimeSource : TimeSource

The AccurateLocalTimeSource type exposes the following members.

Constructors
  NameDescription
Public methodAccurateLocalTimeSource
Initializes a new instance of the AccurateLocalTimeSource class
Top
Properties
  NameDescription
Public propertyTime
Gets current local time directly from DateTime.Now.
(Overrides TimeSourceTime.)
Top
Methods
  NameDescription
Public methodFromSystemTime
Converts the specified system time to the same form as the time value originated from this time source.
(Overrides TimeSourceFromSystemTime(DateTime).)
Public methodToString
Returns a String that represents this instance.
(Inherited from TimeSource.)
Top
See Also