How to convert time zones in oracle?
问题 I have a list from peoplesoft timezones which i need to convert using From_TZ method. The time zones will be in a format as EST,IST..etc. select FROM_TZ (CAST ( (:dt) AS TIMESTAMP), 'EST') AT TIME ZONE 'IST' from dual 回答1: IST does not work, because it is ambiguous, see this table: SELECT tzabbrev, TZ_OFFSET(tzname), tzname FROM V$TIMEZONE_NAMES tz WHERE tzabbrev IN ('EST', 'IST') ORDER BY 1,2,3; TZABBREV TZ_OFFSET(TZNAME) TZNAME EST +10:00 Australia/Brisbane EST +10:00 Australia/Lindeman EST