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

Namespace: CMS.DocumentEngine.Web.UI
Assembly: CMS.DocumentEngine.Web.UI (in CMS.DocumentEngine.Web.UI.dll) Version: 12.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