gpt4 book ai didi

php - 在日期格式之间转换

转载 作者:行者123 更新时间:2023-11-29 01:07:03 26 4
gpt4 key购买 nike

你将如何转换存储为的日期

2011-01-18 11:51:41

进入

18-01-2011 11:51:41

使用 PHP?

非常感谢!

最佳答案

date('d-m-Y H:i:s', strtotime('2011-01-18 11:51:41'));

关于php - 在日期格式之间转换,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6836126/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com