oracle格式化日期24小时显示

版权所有, 律师函警告!
本文链接: https://blog.csdn.net/qq_41490274/article/details/101159442

原始:

select to_char(存储时间的列,'yyyy-mm-dd hh:mm') TimeStr from product p where id=#{id}

改后:

select to_char(存储时间的列,'yyyy-mm-dd hh24:mi') TimeStr from product p where id=#{id}

猜你喜欢

转载自blog.csdn.net/qq_41490274/article/details/101159442
今日推荐