Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • Thank you! So the main thing you're telling me is: when I do timestamp BETWEEN timestamptz1 and timestamptz2 I actually do BETWEEN (timestamp1+offset1) AND (timestamp2+offcet2), because internally timestamps are stored and processed in UTC. Am I getting it right? Commented Sep 8, 2018 at 12:53
  • @dmytrocx75: To your 1st comment: Sounds about right. Not sure it was the "main thing", though. That would be: Timestamp and timezone handling depends on many things, is complex and may be confusing - currently more confusing than necessary. Dumb people have been allowed to set up dumb rules and standards. We have the misguided POSIX standard above and there are the moronic DST rules (which the EU might hopefully abolish soon) and other political nonsense complicating things. Commented Sep 8, 2018 at 14:39