TransformationHelperGetDate Method |
Returns date from the provided date-time value.
Namespace: CMS.DocumentEngine.Web.UIAssembly: CMS.DocumentEngine.Web.UI (in CMS.DocumentEngine.Web.UI.dll) Version: 10.0.0
Syntaxpublic 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