I try return values for specific time zone and I faced with some strange behavior in response:
SELECT created_at AT TIME ZONE 'US/Pacific' - created_at,
NOW() AT TIME ZONE 'US/Pacific' - NOW(),
NOW() now FROM "my_table"
ORDER by id DESC LIMIT 1
return
10:00:00 | -10:00:00 | 2017-08-02 17:36:30.660477+03
why does same function return opposite values (-10/+10) for the column from the table and for dynamic time?
Thanks!
created_at?created_attype is timestamp without timezone