Home > Backend Development > PHP Tutorial > 求一个时间戳

求一个时间戳

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-23 13:58:30
Original
1030 people have browsed it

请大神,写一条php语句,打印:

“下周一10:20”的时间戳


回复讨论(解决方案)

echo strtotime(date('Y-m-d 10:20:00', strtotime('next week')));

echo strtotime(date('Y-m-d 10:20:00', strtotime('next week')));



呵呵,这个是以现在的时间加一周的结果;直接执行后,是下周二的10:20

是吗?
我有忽悠你的必要吗?

sorry,我的错,给分了!

Related labels:
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template