Click or drag to resize
TimeZoneMethodsConvertDateTime Method
Convert date time with dependences on current time zone manager.

Namespace: CMS.Globalization
Assembly: CMS.Globalization (in CMS.Globalization.dll) Version: 9.0.0
Syntax
C#
public static DateTime ConvertDateTime(
	DateTime dateTime,
	Control sender
)

Parameters

dateTime
Type: SystemDateTime
Date time to convert
sender
Type: System.Web.UIControl
Sender

Return Value

Type: DateTime
See Also