Trying to convert UNIX timestamp to Oracle timestamp with timezone. Expecting to see different output, however datetime part is the same.
What is wring ?
Unix timestamp is from 1970-01-01 00:00:00 UTC. When you just do timestamp '1970-01-01 00:00:00' Oracle takes your local time zone!
1970-01-01 00:00:00 UTC
timestamp '1970-01-01 00:00:00'
You have to do it like this:
(TIMESTAMP '1970-01-01 00:00:00' AT TIME ZONE 'UTC' + numtodsinterval(1204104116656/1000,'second')) AT time zone tz_offset('PST');
`