postgresql时间处理

时间取到截取

例:select date_trunc('second', "reportTime") from travel_message limit 10;

结果:

 

他人博客:http://blog.csdn.net/snn1410/article/details/7741283

字符串处理:http://www.cnblogs.com/wuhenke/archive/2010/08/02/1790750.html

posted @ 2017-02-08 23:52  吃饭睡觉打逗逗  阅读(586)  评论(0编辑  收藏  举报