PostgreSQL date() with timezone

前端 未结 4 1204
日久生厌
日久生厌 2020-12-23 07:14

I\'m having an issue selecting dates properly from Postgres - they are being stored in UTC, but not converting with the Date() function properly.

Converting the tim

4条回答
  •  生来不讨喜
    2020-12-23 07:31

    cast(master.Stamp5DateTime as date) >= '05-05-2019' AND 
    
    cast(master.Stamp5DateTime as date) <= '05-05-2019' 
    

提交回复
热议问题