Show / Hide Table of Contents

GetDefaultTimeZoneObjid

Object and Type

Object  : FCApplication

Type     : Method

Prototype

Public Function GetDefaultTimeZoneObjid() As Long

Description

This method returns the objid of the default time zone. The default time zone is defined by the is_default flag in the time_zone table. The time_zone table is cached in the FCApplication object, so this method does not cause a database round-trip.

Returns

A long integer containing the objid of the default time_zone. If a time_zone has not been set as the default, zero will be returned.

Example

The following example retrieves the objid of the default time_zone.

JavaScript:

//If the customer didn't give us a time zone, use the default

if (TimeZoneObjid == 0)
{
	TimeZoneObjid = FCApp.GetDefaultTimeZoneObjid();
}
Back to top © 2022 Dovetail Software, Inc. - All rights reserved.
Clarify, Amdocs, and related products and names are copyright and trademark of Amdocs, Inc.
.NET, Visual Studio.NET, C#, Visual Basic and related products are trademark of Microsoft corporation.