Skip to main content

Instances widget timestamps do not honor Daylight Savings Time


Technote (FAQ)


Question

In the Instances widget, the localized timestamps used in the instances do not honor Daylight Savings Time (DST); some timestamps may be incorrectly offset by one hour (ahead or behind) the actual time if Daylight Savings Time is in effect for either the actual time or the current time but not both. How can I correct this?

Cause

When using the Instances widget, the user's timezone is transmitted to the server which uses that information to localize the timestamps used in the instances. This localized timestamp does not honor DST, as only the offset to UTC time, but not the actual time zone information, is transmitted to the server.

Answer

It is possible to define a single time zone for all users such that DST will be correctly honored for all timestamps based on the DST rules for that time zone. You can configure IBM Business Monitor or WebSphere Business Monitor to use a specific time zone by setting a custom property, using the procedure below.

  1. Apply the appropriate maintenance depending on your product and version. (These fix packs and refresh packs contain the code added under APAR JR42577 to support setting a fixed time zone for display of all DateTime metrics, such that DST will be honored.)
  2. Launch the WebSphere Application Server administrative console.
  3. From the left pane select Servers > Server Types > Application servers, then click the server name in the right pane. (Note: In a network deployment environment, you will need to perform steps 2 through 7 for each server in the cluster where Business Space is deployed.)
  4. In the right pane, select Java and Process Management > Process definition > Additional Properties > Java Virtual Machine > Additional Properties > Custom Properties. Click New.
  5. Enter com.ibm.wbimonitor.rest.api.timezone in the Name field.
  6. Enter the appropriate time zone in the Value field; for example, America/New_York, Europe/Paris, etc. (see http://en.wikipedia.org/wiki/List_of_tz_database_time_zones for a list of time zone IDs).
  7. Click OK.
  8. Click Save.
  9. In a network deployment environment, synchronize the change across all nodes in the cell.
  10. In a stand-alone environment, stop and restart the server. In a network deployment environment, stop the servers and cluster where Business Space is deployed, and then start the cluster and servers (in that order).

Cross reference information
Segment Product Component Platform Version Edition
Business Integration IBM Business Monitor AIX, HP-UX, Linux, Linux zSeries, Solaris, Windows 8.0.1, 8.0, 7.5.1.1, 7.5.1, 7.5

Rate this page:

(0 users)Average rating

Copyright and trademark information

IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.

Rate this page:


(0 users)Average rating

Add comments

Document information

WebSphere Business Monitor


Software version:
7.0, 7.0.0.5


Operating system(s):
AIX, HP-UX, Linux, Linux zSeries, Solaris, Windows


Reference #:
1599556


Modified date:
2012-11-16

Translate my page

Content navigation