PHP getdate() 函数
PHP 教程
· 2019-01-24 06:44:22
实例
返回当前本地的日期/时间的日期/时间信息:
<?php
print_r(getdate());
?>
print_r(getdate());
?>
定义和用法
getdate() 函数返回某个时间戳或者当前本地的日期/时间的日期/时间信息。
语法
getdate(timestamp);
| 参数 | 描述 |
|---|---|
| timestamp | 可选。规定整数的 Unix 时间戳。默认为当前本地时间(time())。 |
技术细节
| 返回值: | 返回带有与时间戳相关的信息的关联数组:
|
|---|---|
| PHP 版本: | 4+ |
点击查看所有 PHP 教程 文章: https://www.codercto.com/courses/l/5.html
Head First jQuery
Ryan Benedetti , Ronan Cranley / O'Reilly Media / 2011-9 / USD 39.99
Want to add more interactivity and polish to your websites? Discover how jQuery can help you build complex scripting functionality in just a few lines of code. With Head First jQuery, you'll quickly g......一起来看看 《Head First jQuery》 这本书的介绍吧!
JSON 在线解析
在线 JSON 格式化工具
HEX CMYK 转换工具
HEX CMYK 互转工具