TimeZoneHelperConvertToSiteDateTime Method (DateTime, ISiteInfo) |
Returns site date time in dependence on site time zone.
Namespace: CMS.GlobalizationAssembly: CMS.Globalization (in CMS.Globalization.dll) Version: 13.0.131
Syntax public static DateTime ConvertToSiteDateTime(
DateTime dateTime,
ISiteInfo siteInfo
)
Parameters
- dateTime
- Type: SystemDateTime
DateTime - siteInfo
- Type: CMS.BaseISiteInfo
Site info
Return Value
Type:
DateTimeSee Also