获取年月日

select date_format(postdate,'%Y-%m-%d') from  news 

posted @ 2015-01-19 16:34  Coding_Yong  阅读(130)  评论(0)    收藏  举报