Click or drag to resize
CMSAbstractTransformationGetDateTime Method (String, String)
Returns date and time in given format.

Namespace: CMS.Controls
Assembly: CMS.Controls (in CMS.Controls.dll) Version: 8.2.23
Syntax
C#
public string GetDateTime(
	string dateTimeField,
	string formattingString
)

Parameters

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

Return Value

Type: String
See Also