TransformationHelperGetCurrentDateTimeString Method |
Returns date time string according to user or current site time zone.
Namespace: CMS.DocumentEngine.Web.UIAssembly: CMS.DocumentEngine.Web.UI (in CMS.DocumentEngine.Web.UI.dll) Version: 11.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