CommonRoutingExtensionsNow Method

Obtaining current time of the DN

Definition

Namespace: CallFlow
Assembly: CallFlow.CFD (in CallFlow.CFD.dll) Version: 20.0.1
C#
public static DateTime Now(
	this DN dn,
	out DateTime utc,
	out TimeZoneInfo timezone,
	out GroupHoursMode timemode
)

Parameters

dn  DN
the DN
utc  DateTime
corresponding utc time
timezone  TimeZoneInfo
the time zone of the local time returned
timemode  GroupHoursMode
current hours mode of the primary Group [highlights overrides if any]

Return Value

DateTime
current local time for the dn

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type DN. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also