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