中文时间显示的程序

80酷酷网    80kuku.com

  程序|显示|中文<?php
$cweekday = array("星期日","星期一","星期二","星期三","星期四","星期五","星期六");
$now = getdate(time());
$cur_wday=$now['wday'];
$showtime = date("北京时间Y年m月d日H时i分s秒 $cweekday[$cur_wday]");
echo $showtime;
?>















分享到
  • 微信分享
  • 新浪微博
  • QQ好友
  • QQ空间
点击: