TransformationHelperGetCurrentDateTimeString Method |
Returns date time string according to user or current site time zone.
Namespace: CMS.ControlsAssembly: CMS.Controls (in CMS.Controls.dll) Version: 8.2.23
Syntax public string GetCurrentDateTimeString(
Object dateTime,
string userName
)
Parameters
- dateTime
- Type: SystemObject
Date time - userName
- Type: SystemString
User name
Return Value
Type:
StringSee Also