Home  >  Article  >  Backend Development  >  怎么获取当日的零时时间

怎么获取当日的零时时间

WBOY
WBOYOriginal
2016-06-13 10:46:401047browse

如何获取当日的零时时间
如何用php获得当日的零时的时间

------解决方案--------------------
date_default_timezone_set('PRC');
echo date('Y-m-d 00:00:00');

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