bin = horzcat([-3*3600:3600:0],[5/60:3600:24*3600+5/60]);
% bin = horzcat([-3*3600:3600:0],[5/60:3600:24*3600+5/60]);
x = histc(time,bin)';

max(time)/3600
max(timestamps)/3600