PostgreSQL根据时区获取时间 2021年6月9日 | postgresql | 阅读 postgres获取指定时区的时间 SELECT to_char(now()::timestamp at time zone 'cst+8', 'YYYY/MM/DD HH12:MI:SS') to_char 2021/06/09 10:52:51 “cst+8” 是时区,代表东八区 See Also Postgresql开启慢查询日志 postgresql时间戳日期转换 postgresql “时间” 时区