Knowledge Shared (Beta)


Posted by: Bob Cozzi
IT Researcher
Cozzi Productions, Inc.
North Aurora, IL
Page 1356 has no ratings.
Fixing the CEEUTCO API Bug
Updated: 10 Nov 2009 - 299 days ago
Last viewed on: 31 Aug 2010 (265 views)
Fixing the CEEUTCO API Bug

The CEEUTCO API has a bug where the value it returns does not change when a region changes from Daylight Savings Time to Standard Time.

The API, for example might return -5:00 for Central Daylight time, but after Daylight Savings Time ends, it returns -5:00 but should return -6:00.

The way to make this API return the correct value is to do the following:

  1. Change your system value QTIMZON to any value other than the current value.
  2. Change your system value QTIMZON back to the correct timezone value.

The CEEUTCO API will now return the correct time offset.

This bug also impacts the UTC offset recorded in your HTTP (web server) logs. The above fix corrects the web log issue as well.

This ClassAnova article contains an example program that will write your timezone related settings to the joblog.

Return to ClassANova.com home page.