摘要:
<?php $FileID=date("Ymd-His") . '-' . rand(100,999); //$FileID为 20100903-132121-908 这样的的随机数?><?phpfunction randomkeys($length){$pattern='1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLOMNO... 阅读全文
posted @ 2010-09-03 21:37
海乐学习
阅读(113909)
评论(3)
推荐(1)
摘要:
$bean->StopTime=date("Y-m-d H:i:s");// 当前时间$one = strtotime($bean->StartTime);$tow = strtotime($bean->StopTime);$len = $tow - $one; //得出时间戳差值$bean->TimeLen=$len; //时间差 秒date_default_timezo... 阅读全文
posted @ 2010-09-03 21:24
海乐学习
阅读(1087)
评论(0)
推荐(0)

浙公网安备 33010602011771号