Click or drag to resize
TimeZoneHelperConvertToSiteDateTime Method (DateTime, ISiteInfo)
Returns site date time in dependence on site time zone.

Namespace: CMS.Globalization
Assembly: CMS.Globalization (in CMS.Globalization.dll) Version: 10.0.0
Syntax
C#
public static DateTime ConvertToSiteDateTime(
	DateTime dateTime,
	ISiteInfo siteInfo
)

Parameters

dateTime
Type: SystemDateTime
DateTime
siteInfo
Type: CMS.BaseISiteInfo
Site info

Return Value

Type: DateTime
See Also