Skip to main content
All docs
V25.2
  • ITimeZoneProvider.GetCurrentTimeZone() Method

    Gets the time zone used in UtcToLocalTime and LocalTimeToUtc functions.

    Namespace: DevExpress.XtraReports.Services

    Assembly: DevExpress.XtraReports.v25.2.dll

    Declaration

    TimeZoneInfo GetCurrentTimeZone()

    Returns

    Type Description
    TimeZoneInfo

    A TimeZoneInfo object that specifies the time zone.

    Remarks

    The GetCurrentTimeZone method returns a TimeZoneInfo object that is the local time zone. Reporting controls use this time zone when converting date-time values using UtcToLocalTime and LocalTimeToUtc functions.

    See Also