Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes Oracle/OAS and the fly likes Oracle Timezone conversions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Oracle/OAS
Bookmark "Oracle Timezone conversions" Watch "Oracle Timezone conversions" New topic

Oracle Timezone conversions

amit punekar
Ranch Hand

Joined: May 14, 2004
Posts: 511
Hello there,
I have a table that stores a COUNTRY and particular TIMESTAMP for the same.
Now in the SQL I need to select this entry and convert it into GMT timestamp. I came across one SQL that can do this for me at this location.

Now to provide the Timezone I referred the Oracle view "V$TIMEZONE_NAMES". The countries for which I need to convert the timezone is "Ghana", "Botswana" and "Mauritius" which cannot be located in there.

Appreciate your suggestion.

amit punekar
Ranch Hand

Joined: May 14, 2004
Posts: 511
Used the following entries for respective countries.
1) Mauritius - Indian/Reunion
3) Ghana - UTC

wood burning stoves
subject: Oracle Timezone conversions
Similar Threads
f:convertDateTime and data type conversion
Convert Local time to UTC and vice versa
TimeStamp.toString() does not work as expected
Retrieving wrong date/time with Timestamp
Date comparision in SQL from timestamp