TransformationHelperFormatDateTime Method |
Format date time.
Namespace: CMS.ControlsAssembly: CMS.Controls (in CMS.Controls.dll) Version: 8.2.23
Syntax public Object FormatDateTime(
Object datetime,
string format
)
Parameters
- datetime
- Type: SystemObject
Date time object - format
- Type: SystemString
Format string (If not set, the date time is formated due to current culture settings.)
Return Value
Type:
ObjectSee Also