TransformationHelperGetDate Method |
Returns date from the provided date-time value.
Namespace: CMS.ControlsAssembly: CMS.Controls (in CMS.Controls.dll) Version: 8.2.23
Syntax 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:
StringSee Also