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

Namespace: CMS.Controls
Assembly: CMS.Controls (in CMS.Controls.dll) Version: 9.0.0
Syntax
C#
public string GetDateTimeString(
	Object dateTime,
	bool showTooltip
)

Parameters

dateTime
Type: SystemObject
DateTime to convert (server time zone)
showTooltip
Type: SystemBoolean
Wraps date in span with tooltip

Return Value

Type: String
See Also