Oracle conversion of UNIX timestamp to timestamp with time zone
问题 Trying to convert UNIX timestamp to Oracle timestamp with timezone. Expecting to see different output, however datetime part is the same. What is wring ? select (timestamp '1970-01-01 00:00:00' + numtodsinterval(1204104116656/1000,'second')) at time zone tz_offset('EST') from dual; Output: 27-FEB-08 09.21.56 .656000000 AM -05:00 select (timestamp '1970-01-01 00:00:00' + numtodsinterval(1204104116656/1000,'second')) at time zone tz_offset('PST') from dual; Output: 27-FEB-08 09.21.56 .656000000