Click or drag to resize
TimeZoneHelperConvertTimeToUserTime Method
Returns user date time in dependence on user time zone from specified DateTime a TimeZone.

Namespace: CMS.Globalization
Assembly: CMS.Globalization (in CMS.Globalization.dll) Version: 13.0.131
Syntax
C#
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: DateTime
See Also