'20240204 15:59:59' to '20240204-02-04T15:59:59'
使用以下格式转换
SELECT to_char('20240204 15:59:59'::timestamp,'yyyy-mm-dd"T"HH24:MI:SS')
'20240204 15:59:59' to '20240204-02-04T15:59:59'
使用以下格式转换
SELECT to_char('20240204 15:59:59'::timestamp,'yyyy-mm-dd"T"HH24:MI:SS')