Click or drag to resize
TimeZoneMethods Class
Time zone methods
Inheritance Hierarchy
SystemObject
  CMS.GlobalizationTimeZoneMethods

Namespace: CMS.Globalization
Assembly: CMS.Globalization (in CMS.Globalization.dll) Version: 9.0.0
Syntax
C#
public class TimeZoneMethods

The TimeZoneMethods type exposes the following members.

Constructors
  NameDescription
Public methodTimeZoneMethods
Top
Methods
  NameDescription
Public methodStatic memberConvertDateTime
Convert date time with dependences on current time zone manager.
Public methodStatic memberDateTimeConvert(DateTime, TimeZoneTypeEnum, TimeZoneInfo)
Convert date time with dependence on time zone type from server date time.
Public methodStatic memberDateTimeConvert(DateTime, TimeZoneTypeEnum, TimeZoneInfo, TimeZoneInfo)
Convert date time with dependence on time zone type from server date time.
Public methodStatic memberDateTimeServerConvert
Convert datetime with dependence on time zone type to server date time.
Public methodStatic memberGetDateTimeForControl(Control, DateTime)
Gets the date time value for the given control.
Public methodStatic memberGetDateTimeForControl(Control, DateTime, TimeZoneInfo)
Gets the date time value for the given control.
Top
See Also