Blogger Information
Blog 250
fans 3
comment 0
visits 321767
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
时间函数:time()
梁凯达的博客
Original
989 people have browsed it

时间函数:

time()是生成一个UNIX时间戳

   //UNIX时间戳
 //是指从格林威治时间1970年1月1日0时0分0秒开始到现在的秒数
 //时间戳的类型为:整数
 //PHP的时间戳最大值是2038年1月19日

实例

echo time();

运行实例 »

点击 "运行实例" 按钮查看在线实例

Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post