PHP date_parse() 函数
PHP 教程
· 2019-01-23 21:58:15
实例
返回一个包含指定日期的详细信息的关联数组:
<?php
print_r(date_parse("2013-05-01 12:30:45.5"));
?>
print_r(date_parse("2013-05-01 12:30:45.5"));
?>
定义和用法
date_parse() 函数返回一个包含指定日的详细信息的关联数组。
语法
date_parse(date);
| 参数 | 描述 |
|---|---|
| date | 必需。规定日期(格式由 strtotime() 接受)。 |
技术细节
| 返回值: | 如果成功则返回包含被解析日期信息的关联数组,如果失败则返回 FALSE。 |
|---|---|
| PHP 版本: | 5.2+ |
点击查看所有 PHP 教程 文章: https://codercto.com/courses/l/5.html
Never Lost Again
[美] Bill Kilday / HarperBusiness / 2018-5-29 / USD 8.00
As enlightening as The Facebook Effect, Elon Musk, and Chaos Monkeys—the compelling, behind-the-scenes story of the creation of one of the most essential applications ever devised, and the rag-tag tea......一起来看看 《Never Lost Again》 这本书的介绍吧!