Home  >  Article  >  Backend Development  >  php string conversion problem

php string conversion problem

WBOY
WBOYOriginal
2016-08-18 09:16:07907browse

The string "2016-8-13" is converted to "August 13th"
Can I ask if it can be converted

Reply content:

The string "2016-8-13" is converted to "August 13th"
Can I convert it?

<code>date('m月d号',strtotime('2016-8-13'));</code>

Try it

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
Previous article:printf controls newlineNext article:printf controls newline