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.1.5347.20411)
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