Click or drag to resize
TransformationHelperFormatDateTime Method
Format date time.

Namespace: CMS.Controls
Assembly: CMS.Controls (in CMS.Controls.dll) Version: 8.2.23
Syntax
C#
public Object FormatDateTime(
	Object datetime,
	string format
)

Parameters

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

Return Value

Type: Object
See Also