KB#00236-The TIM variable reports a different time than the Operating System
The TIM variable reports a different time than the Operating System
Typically when an OS is installed the system time is set in GMT. In order for each system to use the local time another environmental variable, such as TZ is also set. This is the offset used to adjust the system time to localtime.
The TZ variable is common under many UNIX Operating Systems, but isn't required. BBx queries the system clock to find out the current time. It then adds the appropriate offset for the time zone.
This allows for portability and remote users in different timezones to have the current time while maintaining a universal time.
Whatever this timezone variable is named there needs to be a pointer to the timezone information table, usually stored in the shared libraries. If it's not TZ then check the .profile or the kernel for the correct variable name pointing to the timezone table. If the timezone variable is incorrect, you will not be able to get the correct system time from BBx.
These files may help in determining what the timezone variable and/or where the timezone table is set.
Last Modified: 09/03/1998 Product: PRO/5 Operating System: UNIX
BASIS structures five components of their technology into the BBx Generations.