Show / Hide Table of Contents

Class TimeZone

Gives access to timezone info. Call the global function getLocalTimeZone() to get the object.

Syntax

Constructors

TimeZone()

Initializes a new instance of the TimeZone class.

Declaration
TimeZone

Methods

getTimeZone()

This functions will give you the difference from GMT in hours and minutes.

Declaration
String getTimeZone()
Returns
Type Description
String

The time zone string on the form "+0100", "-0545" etc.

getTimeZoneSecs()

Difference from GMT in seconds.

Declaration
Integer getTimeZoneSecs()
Returns
Type Description
Integer

Difference from GMT in seconds.

In This Article
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top