Click or drag to resize
TransformationHelperGetDateTimeString Method
Returns string representation of date time with dependence on current ITimeZone manager time zone settings.

Namespace: CMS.DocumentEngine.Web.UI
Assembly: CMS.DocumentEngine.Web.UI (in CMS.DocumentEngine.Web.UI.dll) Version: 13.0.131
Syntax
C#
public string GetDateTimeString(
	Control control,
	Object dateTime,
	bool showTooltip
)

Parameters

control
Type: System.Web.UIControl
Control containing ITimeZoneManager
dateTime
Type: SystemObject
DateTime to convert (server time zone)
showTooltip
Type: SystemBoolean
Wraps date in span with tooltip

Return Value

Type: String
See Also