日期转换为时间戳


$date="2013-10-01 12:23:14"; dump(strtotime($date)); //=>1380601394

时间戳 转换为日期

{$date|date="y-m-d",###} //=>2013-10-01

 去除时间的时分秒:{$vo.update_time|substr=###,0,10} 

 

相关文章:

  • 2022-01-15
  • 2022-02-18
  • 2021-11-28
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-19
  • 2021-11-09
猜你喜欢
  • 2022-12-23
  • 2021-12-05
  • 2021-11-19
  • 2022-12-23
  • 2022-12-23
  • 2021-12-10
相关资源
相似解决方案