Click or drag to resize
TimeZoneHelperGetSiteDateTime Method
Returns user current 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 GetSiteDateTime(
	ISiteInfo siteInfo
)

Parameters

siteInfo
Type: CMS.BaseISiteInfo
Site info

Return Value

Type: DateTime
See Also