思路用strtotime转换时间的字符串

 

$t='2017-03-09 02:30';
echo(date('Y-m-d H-i', strtotime($t)));

相关文章:

  • 2021-12-13
  • 2022-01-26
  • 2021-11-27
  • 2021-11-27
  • 2021-11-27
  • 2021-12-22
  • 2021-12-22
  • 2022-01-07
猜你喜欢
  • 2022-12-23
  • 2021-11-18
  • 2021-11-18
相关资源
相似解决方案