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