select create_time from  xxx;

postgresql to_char 问题

select to_char(create_time,'yyyy-MM-dd HH24:mm:ss') as  create_time from xxx

postgresql to_char 问题     居然达不到想要的效果

 

select date_trunc('second',create_time) as  create_time from xxx

postgresql to_char 问题

 

解决。。。

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-06-10
  • 2022-12-23
  • 2022-01-12
  • 2021-09-29
  • 2022-03-05
猜你喜欢
  • 2021-08-11
  • 2021-09-22
  • 2021-09-03
  • 2022-12-23
  • 2022-12-23
  • 2021-12-03
  • 2021-11-25
相关资源
相似解决方案