| Date( "Month Day, Year HH:MM:SS" ) | ใช้สร้าง object date โดยจะมีค่าวันที่และเวลาตามที่กำหนด |
|---|
method:Date ( "Month Day, Year HH:MM:SS" );
return type:object
content:ใช้สร้าง object date โดยจะมีค่าวันที่และเวลาตามที่กำหนด
example:var my_date = new Date( "June 22, 2008 23:48:52" );