| Date( year, month, day, hour, minute, second ) | ใช้สร้าง object date โดยจะมีค่าวันที่และเวลาตามที่กำหนด |
|---|
method:Date ( year, month, day, hour, minute, second );
return type:object
content:ใช้สร้าง object date โดยจะมีค่าวันที่และเวลาตามที่กำหนด
example:var my_date = new Date( 2008, 05, 22, 24, 48, 52 );