Jump to content

BIRT Developer Center Download


Submitter

File Information

  • Submitted: Jan 13 2017 11:20 AM
  • Last Updated: Jan 13 2017 11:20 AM
  • File Size: 5.5KB
  • Views: 312
  • Downloads: 2
  • Approved by: Virgil
  • Approved on: 18 January 2017 - 07:23 AM
  • Summary: Example of converting date time from UTC to a specific time zone.
  • Content Type: Designs & Code
  • BIRT Version: iHub 16, iHub3

Download Time Zone Conversion

- - - - -



Screenshots
Example of how to convert time zones. For this example I used a CSV file that includes the current time zones with offsets (these might change). This CSV files is used for a parameter selector. I am using a scripted data set to display 24 rows for 24 hours. This report will then convert these times (assuming they dates are in UTC) to selected time zone.

An alternative approach would be to use public services to get time zone information. Examples are:

Google has one based on geo location - https://developers.g.../timezone/intro

Timezonedb has one based on s time zone code - https://timezonedb.c...s/get-time-zone







0 user(s) are online (in the past 1 minutes)

0 members, 0 guests, 0 anonymous users