Home > php教程 > php手册 > body text

PHP中的问题!

WBOY
Release: 2016-06-06 19:40:45
Original
1130 people have browsed it

echo date("l dS of F D Y h:i:s A"),"br"; 怎么输出结果是:Friday 09th 2012f March Fri 2012 07:45:20 AM 而我要的结果是:Friday 09th of March Fri 2012 07:45:20 AM 注意看红色的地方,怎样才能让浏览器输出的是一个 of ,而不是一个 format字符 呢?

echo date("l dS of F D Y h:i:s A"),"
";

怎么输出结果是:Friday 09th 2012f March Fri 2012 07:45:20 AM

而我要的结果是:Friday 09th of March Fri 2012 07:45:20 AM

注意看红色的地方,怎样才能让浏览器输出的是一个“of” ,而不是一个format字符呢?

还有,得到的时间为什么是早上的时间,而不是当前时间呢?

Related labels:
source:php.cn
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 Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!