ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

Change of time zone

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Change of time zone

    So the system is set up for USA East, but we print reports around the world. In some places (like Germany) we need to modify the date/time on the reports, including data lines to their local time. Assuming I know when to do this, is there a simple way to convert a time from the system time zone to Berlin time. It is usually just +6 hours, but what about the different DST adjustments. Anybody got a solution to this? I know I can write a program to find first Monday in March, etc. But there should be an easier way. Maybe embedded SQL? Or other suggestions?

  • #2
    The QWCCVTDT api will convert a date & time from one timezone to another.

    Comment


    • #3
      You could try TimeZoNe/400.
      IIRC, all you have to do is include this this program in the user's start-up program defining the time zone difference for each user. Then all reports and displays (IIRC) are correct. No changing of programs, PRTFs, or DSPFs is required.
      Regards

      Kit
      http://www.ecofitonline.com
      DeskfIT - ChangefIT - XrefIT
      ___________________________________
      There are only 3 kinds of people -
      Those that can count and those that can't.

      Comment

      Working...
      X