I'm trying to filter firebase data with a range of dates, the problem is that I always get null in the answer
var fechaFiltroIn = "1537107647902";
var fechaFiltroFin = "1537307647902";
var consultaHistorias = base.ref("historias").orderByChild("fecha").startAt(fechaFiltroIn ).endAt(fechaFiltroFin);
consultaHistorias.on('value', function (snap){
console.log(snap.val());
});