Midrange News for the IBM i Community

Posted by: Bob Cozzi
Rogue Programmer
Cozzi Productions, Inc.
Bug in Daylight Saving Time for IBM i
has no ratings.
Published: 04 Feb 2011
Revised: 23 Jan 2013 - 4101 days ago
Last viewed on: 15 Apr 2024 (7705 views) 

Using IBM i? Need to create Excel, CSV, HTML, JSON, PDF, SPOOL reports? Learn more about the fastest and least expensive tool for the job: SQL iQuery.

Bug in Daylight Saving Time for IBM i Published by: Bob Cozzi on 04 Feb 2011 view comments

IBM i Daylight Saving Time 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 CEEUTCO API, for example might return -5:00 for Central Daylight time. After Daylight Savings Time ends, it continues to return -5:00 but should return -6:00.

One way to correct this error 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.


Return to midrangenews.com home page.
Sort Ascend | Descend