currentUTCBias

currentUTCBias(location: Integer): Integer;

The currentUTCBias method of the Application class returns the current bias, in minutes, for local time translation on the node specified in the location parameter.

The bias is the difference in minutes between Coordinated Universal Time (UTC) and local time (that is, bias = UTC - ‘local time’). As the bias is current, it includes any daylight saving adjustment in effect at the time the value is obtained.

The location parameter values, provided by global constants in the ExecutionLocation category, are listed in the following table.

Global Constant Integer Value Method is executed…
CurrentLocation 0 In the current location
DatabaseServer 1 On the database server node
PresentationClient 2 On the presentation client (applicable to applications running in thin client mode)

The current bias defaults to CurrentLocation (0) if you specify any value other than those listed in this table. See also the Application class getUTCTime method and the TimeStamp primitive type localToUTCTime, localToUTCTimeUsingBias, utcToLocalTimeUsingBias, and utcToLocalTime methods.