TimeZoneHelperConvertTimeToUserTime Method |
Returns user date time in dependence on user time zone from specified DateTime a TimeZone.
Namespace: CMS.GlobalizationAssembly: CMS.Globalization (in CMS.Globalization.dll) Version: 13.0.131
Syntax public static DateTime ConvertTimeToUserTime(
DateTime dateTime,
TimeZoneInfo timeZoneInfo,
IUserInfo userInfo
)
Parameters
- dateTime
- Type: SystemDateTime
DateTime - timeZoneInfo
- Type: CMS.GlobalizationTimeZoneInfo
Time zone - userInfo
- Type: CMS.BaseIUserInfo
User info
Return Value
Type:
DateTimeSee Also