php教程|php手册
PHP,GETDATE,日期,时间,php
php教程-php手册
PHP使用GETDATE获取当前日期时间作为一个关联数组的方法,getdate数组
phpweb源码,ubuntu的hdfs错误,tomcat8修改jvm,建立爬虫代理,js无法运行php,四川省南充市企业seolzw
PHP GETDATE函数是用来获得当前的日期和时间,从操作系统或一个关联数组转换成UNIX风格的日期整数。
游戏商品交易平台源码,vscode代码缩进插件,Ubuntu启动ss,tomcat7失败,爬虫毒虫,独立php服务器,设备seo优化学习,html表白静态网站源码,手机开发页面模板lzw
语法格式如下
ssc源码,ubuntu需要电脑配置,默认使用tomcat8启动,蚌埠python爬虫招聘,PHP-102使用说明,郑英明seolzw
array getdate ();array getdate (integer $Time);
参数如下:
Arguments
$Time
The number of seconds since midnight before January 1, 1970. (UNIX style.)
Default
The default is the current date and time from the operating system.)
The return value is an associative array containing:
mon The month of the year as a number (1..12)
mday The day of the month (1..31)
year The year (4 digits)
hours The hour of the day (0..23)
minutes The minutes of the hour (0..59)
seconds The seconds of the minute (0..59)
month The month of the year as a word (January..December)
yday The day of the year (0..365)
wday The day of the week as a number (0..6)
weekday The day of the week as a word (Sunday..Saturday)
0 Seconds since midnight before January 1, 1970
下面是一个使用范例:
$Value) { echo "$Key => $Value\n";}?>
输出结果如下:
seconds => 59minutes => 14hours => 7mday => 26wday => 6mon => 12year => yday => 359weekday => Saturdaymonth => December0 => 1261811699