CMSAbstractTransformation GetDateTime Method (String, String)Kentico 8.0 API Reference
Returns date and time in given format.

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

Parameters

dateTimeField
Type: OnlineSystem String
Date-time field name
formattingString
Type: OnlineSystem String
Standard .NET formatting string for date-time value

Return Value

Type: OnlineString
See Also