TransformationHelper FormatDateTime Method Kentico 8.1 API Reference
Format date time.

Namespace: CMS.Controls
Assembly: CMS.Controls (in CMS.Controls.dll) Version: 8.0.0.0 (8.1.5347.20411)

Parameters

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

Return Value

Type: OnlineObject
See Also