Returns string representing of given time converted into user date time (site or server).
Namespace: CMS.GlobalizationAssembly: CMS.Globalization (in CMS.Globalization.dll) Version: 8.0.0.0 (8.0.5239.26125)
Parameters
- time
- Type: System DateTime
DateTime to be converted
- displayGMT
- Type: System Boolean
Indicates if GMT information should be appended to result string
- ui
- Type: CMS.Base IUserInfo
IUserInfo
- si
- Type: CMS.Base ISiteInfo
ISiteInfo
- format (Optional)
- Type: System String
Output format
Return Value
Type: StringSee Also