Fork me on GitHub
摘要: ## 获取时间和转换格式```//1.time():返回当前时间的Unix时间戳$stimestamp = time();$date = date("Y-m-d h:i:sa",$stimestamp)//2.mktime():返回一个指定日期的Unix时间戳//语法:mktime(hour,min 阅读全文
posted @ 2016-10-26 11:12 archer-wong 阅读(832) 评论(2) 推荐(1) 编辑