Home >Backend Development >PHP Tutorial >怎么转换成时间戳

怎么转换成时间戳

WBOY
WBOYOriginal
2016-06-13 10:41:53871browse

如何转换成时间戳
如何将20120808这样的日期转成时间戳?

------解决方案--------------------
strtotime('20120808')

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