找時間來我家,我教你;)

回答: thx for the NBA pics ;)綠色和平原子彈2007-03-23 10:11:30

use something like this:


function Year_Month(){
var now = new Date();
var yy = now.getYear();
var mm = now.getMonth()+1;
var cl = '';
if (now.getDay() == 0) cl = '';
if (now.getDay() == 6) cl = '';
return(cl + yy + '年' + mm + '月
'); }
function Date_of_Today(){
var now = new Date();
var cl = '';
if (now.getDay() == 0) cl = '';
if (now.getDay() == 6) cl = '';
return(cl + now.getDate() + '
'); }
function Day_of_Today(){
var day = new Array();
day[0] = "星期日";
day[1] = "星期一";
day[2] = "星期二";
day[3] = "星期三";
day[4] = "星期四";
day[5] = "星期五";
day[6] = "星期六";
var now = new Date();
var cl = '';
if (now.getDay() == 0) cl = '';
if (now.getDay() == 6) cl = '';
return(cl + day[now.getDay()] + '
'); }

所有跟帖: 

cg要小心,很多人去了他家都有去無回~ -小小艾- 給 小小艾 發送悄悄話 小小艾 的博客首頁 (0 bytes) () 03/23/2007 postreply 12:12:17

Thanks for sharing. -cg333- 給 cg333 發送悄悄話 cg333 的博客首頁 (0 bytes) () 03/23/2007 postreply 13:22:00

請您先登陸,再發跟帖!