Show / Hide Table of Contents

GetMachineTimeZone

Object and Type

Object  : FCApplication

Type     : Method

Prototype

Public Property Get GetMachineTimeZone() As String

Description

This method returns a string indicating the time zone of the machine running the First Choice Foundation Library. This method uses a Win32 API call to retrieve the time zone. This may not exactly coordinate with a time zone in the Clarify database time_zone table.

Returns

A string indicating the time zone of the machine running the First Choice Generic Business Objects.

Example

The following sets the server time zone to be the machine time zone.

JavaScript:

The server time zone is <%=FCApp.ServerTimeZone%>.<BR>

The machine time zone is <%=FCApp.GetMachineTimeZone%>.<BR>

<% FCApp.SetServerTimeZoneToMachineTimeZone(); %>

The server time zone is now <%=FCApp.ServerTimeZone%>.<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.