📜  在 psql 代码示例中获取日期 ISO

📅  最后修改于: 2022-03-11 15:05:22.756000             🧑  作者: Mango

代码示例1
SELECT cast(to_char (now()::timestamp at time zone 'UTC', 'YYYY-MM-DD"T"HH24:MI:SS"Z"') as varchar)