Click or drag to resize
TimeZoneHelperGetUserDateTime Method
Returns user current date time in dependence on user time zone.

Namespace: CMS.Globalization
Assembly: CMS.Globalization (in CMS.Globalization.dll) Version: 9.0.0
Syntax
C#
public static DateTime GetUserDateTime(
	IUserInfo userInfo
)

Parameters

userInfo
Type: CMS.BaseIUserInfo
User info

Return Value

Type: DateTime
See Also