[PHP] PHP 格式化日期 format the datetime in PHP

Let say the type of column of "created" is datetime,

 

 

date("Y/m/d", strtotime($result['created']));

 

 

 

posted @ 2010-05-14 15:47  DavidHHuan  阅读(675)  评论(0编辑  收藏  举报