method:getSeconds ();return type:numbercontent:ใช้แสดงวินาทีexample:var my_date = new Date (); alert ( my_date.getSeconds () );