Click or drag to resize
TransformationHelper.FormatDateTime Method
Format date time.

Namespace: CMS.DocumentEngine.Web.UI
Assembly: CMS.DocumentEngine.Web.UI (in CMS.DocumentEngine.Web.UI.dll) Version: 11.0.0
Syntax
C#
public Object FormatDateTime(
	Object datetime,
	string format
)

Parameters

datetime
Type: System.Object
Date time object
format
Type: System.String
Format string (If not set, the date time is formated due to current culture settings.)

Return Value

Type: Object
See Also