Click or drag to resize
TransformationHelperGetDate Method
Returns date from the provided date-time value.

Namespace: CMS.DocumentEngine.Web.UI
Assembly: CMS.DocumentEngine.Web.UI (in CMS.DocumentEngine.Web.UI.dll) Version: 11.0.0
Syntax
C#
public string GetDate(
	Object dateTime,
	string defaultValue = "",
	string cultureCode = ""
)

Parameters

dateTime
Type: SystemObject
Date-time
defaultValue (Optional)
Type: SystemString
Default value
cultureCode (Optional)
Type: SystemString
Culture code

Return Value

Type: String
See Also