CMSAbstractTransformation GetDateTime Method (String, String)Kentico 8.1 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.1.5347.20411)

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