Click or drag to resize
TransformationHelperGetCurrentDateTimeString Method
Returns date time string according to user or current site time zone.

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

Parameters

dateTime
Type: SystemObject
Date time
userName
Type: SystemString
User name

Return Value

Type: String
See Also