PostgreSQL date() with timezone

前端 未结 4 624
无人共我
无人共我 2020-12-23 07:01

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:36

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

提交回复
热议问题