[11:30]这样的时间调用格式怎么写
{date('Y-m-d', $t)}或者datetype选什么
搞定 修改 include/global.php
function timetodate($time = 0, $type = 6) {
if(!$time) {global $DT_TIME; $time = $DT_TIME;}
$types = array('Y-m-d', 'Y', 'm-d', 'Y-m-d', 'm-d H:i', 'Y-m-d H:i', 'Y-m-d H:i:s','H:i');
if(isset($types[$type])) $type = $types[$type];
return date($type, $time);
}
&datetype=4
页:
[1]