Dateオブジェクト

コンストラクタ

new Date(); システム時間のインスタンスを作成
new Date(y, m[, d, h, mi, s, ms]); 指定した時間のインスタンスを作成
new Date(value); valueで指定した時間のインスタンスを作成

メソッド

t.setFullYear(y[, m, d]) :年[, 月, 日]の設定
t.setMonth(m[, d]) :月[, 日]の設定
t.setDay(d) :日の設定
t.setHours(h[, mi, s, ms]) :時[, 分, 秒, ミリ秒]の設定
t.setMinutes(mi[, s, ms]) :分[, 秒, ミリ秒]の設定
t.setSeconds(s[, ms]) :秒[, ミリ秒]の設定
t.setMilliseconds(ms) :ミリ秒の設定
t.setTime(time) :時刻の設定