Show / Hide Table of Contents

LocalTimeZone

Object and Type

Object  : FCSession

Type     : Property

Prototype

Public Property Get LocalTimeZone() As String
Public Property Let LocalTimeZone(ByVal NewTimeZone As String)

Description

This property retrieves or sets the local time zone. The local time zone represents the time zone of the FCSession. By default, the local time zone is the same as the FCApplication.ServerTimeZone property.

Parameters

Parameter Name Required? Description
NewTimeZone Yes The name of time zone.

Returns

A string containing the local time zone of the FCSession.

Error Codes

Value Meaning
11007 Invalid time_zone.

Examples

The following example displays and sets the local time zone.

JavaScript:

The Server Time Zone is <%=FCApp.ServerTimeZone%>.<BR>
The Local Time Zone = <%=FCSession.LocalTimeZone%>.<BR>

<%
var TZ = "Eastern Standard Time";
FCSession.LocalTimeZone = TZ; 
%>

The Local Time Zone is now = <%=FCSession.LocalTimeZone%>.<BR>
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.