dotConnect for PostgreSQL Documentation
Devart.Data.PostgreSql Namespace / PgSqlLocalization Class / TimeZone Property

In This Topic
    TimeZone Property (PgSqlLocalization)
    In This Topic
    Determines the time zone to convert the queried PostgreSQL date/time values to.
    Syntax
    'Declaration
     
    Public Shared Property TimeZone As String
    public static string TimeZone {get; set;}

    Property Value

    A string with a time zone in the format "HH:MM" optionally preceded by a sign - "+" or "-".
    Remarks
    By default, when data is queried from the PostgreSQL, date/time values are recalculated according to the local time zone setting. This property allows you to change this behavior and recalculate date/time values according to the time zone specified with this property.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also