2008年12月2日

PHP 计算页面执行时间

摘要: Code Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ --> StartTime = $this->get_microtime(); } function stop() { $this->StopTi... 阅读全文

posted @ 2008-12-02 14:07 Prolove 阅读(157) 评论(0) 推荐(0)

strtotime()

摘要: 有个十分有趣的函数 strtotime(): 形如: December 1, 2008, 2:28 pm 的字符如何换成整形? //转换成标准的时间格式 echo date('Y-m-d H:i:s', strtotime("December 1, 2008, 2:28 pm")); //转换成20081201142800 echo date('YmdHis', strtotime(... 阅读全文

posted @ 2008-12-02 10:15 Prolove 阅读(343) 评论(0) 推荐(0)

导航