RAD function: set.timezone

A RAD function that sets the time zone, the translation from local to internal characters, and the date format. Time zone is established at either user login or process startup time. Note that not all processes that are started are user processes. At login, Service Manager determines the time zone first by the company record and then the operator record.

Function

set.timezone

Format

set.timezone(servertz)

Parameters

The following parameter is valid for the set.timezone function:

Parameter Data type Description
servertz File/record A record in a Service Manager tzfile table.

Example

$void=rtecall("rinit",$r,$L.tz, "tzfile")
$void=rtecall("select",$r,$L.tz, "name=\"Australia/Queensland\"")
set.timezone($L.tz)