UAOOI.ProcessObserver.RealTime.Processes Namespace
UAOOI.ProcessObserver.RealTime.Utils.Collections.Generic Namespace
UAOOI.ProcessObserver.RealTime

DateTimeProvider Constructor

Initializes a new instance of the DateTimeProvider class that allows to use Local or UTC time depending on settings.

Namespace:  UAOOI.ProcessObserver.RealTime.Utils
Assembly:  RealTime (in RealTime.dll)

Syntax


public DateTimeProvider(
	bool useLocalTime
)
Public Sub New ( _
	useLocalTime As Boolean _
)
public:
DateTimeProvider(
	bool^ useLocalTime
)

Parameters

useLocalTime
Type: Boolean
if set to true use Now, otherwise use UtcNow.