Hi,
I have a Situation as "Convert to Global Time Zone using the Time Zone conversion " for given timestamp field , Please help in this , thanks in ADVANCE
Convert to Global Time Zone using the Time Zone conversion
Moderators: chulett, rschirm, roy
Convert to Global Time Zone using the Time Zone conversion
Ramesh Kumar.M
A timestamp does not contain time zone information, so you need additional data in some form to (a) find out what time zone a given timestamp value is in, and (b) define 'global time' for your application and add/subtract the requisite number of hours from your timestamp.
What database (some support timezones) is your data coming from?
What database (some support timezones) is your data coming from?
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
In addition to what Arnd advised, your method may need to handle changes in time within a time zone (usually called "summer time" or "daylight saving time"). Sometimes the change dates are regulated, some places it's more erratic. And some countries involve more than one time zone.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
- Participant
- Posts: 72
- Joined: Wed Dec 12, 2007 2:29 am