Click or drag to resize
TimeZoneHelperConvertToUserDateTime Method (DateTime, IUserInfo)
Returns user date time in dependence on user time zone.

Namespace: CMS.Globalization
Assembly: CMS.Globalization (in CMS.Globalization.dll) Version: 8.2.23
Syntax
C#
public static DateTime ConvertToUserDateTime(
	DateTime dateTime,
	IUserInfo userInfo
)

Parameters

dateTime
Type: SystemDateTime
DateTime
userInfo
Type: CMS.BaseIUserInfo
User info

Return Value

Type: DateTime
See Also