一入PHP岁月催

改版中...

摘要: 日期函数总结——一、返回时间戳——若整体数值超出计算机能力范围,返回空。 1. time();返回当前的 Unix 时间戳 例:$a=time(); var_dump($a); //输出:int(1392192781) 2.strtotime();将其他格式解析为 Unix 时间戳 例... 阅读全文
posted @ 2014-10-24 10:48 一入PHP岁月催 阅读(1017) 评论(0) 推荐(0) 编辑