JavaScript Date() 日期與時間
Date.now()
|
Date_now
|
new Date().getTime()
|
new_Date
|
Date()
|
new_Date
|
new Date().getFullYear()+"年";
|
new_Date
|
new Date().getMonth()+1+"月";
|
new_Date
|
new Date().getDate()+"日";
|
new_Date
|
V= ["日","一,"二","三","四","五","六"];
V [ new Date().getDay() ];
|
new_Date
|
new Date().getHours()+"時";
|
getHours
|
new Date().getMinutes()+"分";
|
getHours
|
new Date().getSeconds() +"秒";
|
getHours
|
沒有留言:
張貼留言