Show / Hide Table of Contents

GetShortTimeZoneObjid

Object and Type

Object  : FCApplication

Type     : Method

Prototype

Public Function GetShortTimeZoneObjid(ByVal TimeZone As String) As Long

Description

This method returns an objid for a given time zone. If the time zone is not found, this method returns a value of zero. The time_zone table is cached in the FCApplication object, so this method does not cause a database round-trip.

Note: The time zone used should be the short time zone ("CST") instead of the long one ("Central Time Zone").

Parameters

Parameter Name Required? Description
TimeZone Yes Name of time zone to get the objid for.

Returns

The objid of the time zone. Zero, if the time zone is not found.

Example

The following example retrieves the objid for a time zone.


**JavaScript:**

var TimeZone = Request.Form("TZ").Item;

var TimeZoneObjid = FCApp.GetShortTimeZoneObjid(TimeZone);

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.