1. 时间:02-AUG-18 17:01:34 转成正常 年月日 时分秒

select to_char(to_timestamp('02-AUG-18 17:01:34', 'dd-mon-yy,hh24:mi:ss') ,'YYYY-MM-DD hh24:mi:ss') from   dual;

 Postgresql 时间串转换格式

 

2.unix时间串: 1533621393 转换成字符串

select to_char(to_timestamp(1533621393),'yyyy-MM-dd hh24:mi:ss') from dual;

Postgresql 时间串转换格式

 

相关文章:

  • 2022-12-23
  • 2021-11-28
  • 2021-12-22
  • 2021-11-18
  • 2021-11-27
猜你喜欢
  • 2021-10-06
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-27
相关资源
相似解决方案