var fdsnevent = seisplotjs.fdsnevent var moment = fdsnevent.model.moment; var daysAgo = 10; var quakeQuery = new fdsnevent.EventQuery() .minLat(46).maxLat(48) .minLon(-123).maxLon(-121) .startTime(moment.utc().subtract(daysAgo, 'days')) .endTime(moment.utc()); quakeQuery.query().then(function(quakes) { // populate table });