Home >Backend Development >PHP Tutorial > 时间格式的变换:Tue May 24 18:04:53 +0800 2011

时间格式的变换:Tue May 24 18:04:53 +0800 2011

WBOY
WBOYOriginal
2016-06-13 12:48:051297browse

时间格式的转换:Tue May 24 18:04:53 +0800 2011

本帖最后由 xroha 于 2013-04-29 17:48:25 编辑 Tue May 24 18:04:53 +0800 2011

怎么对这种时间格式进行日期的加减呢?

------解决方案--------------------
strtotime()转换为UNIX时间戳,之后可以做任意加减
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn