add missing timestamp filtering
output values in examples/query tool
fix time definition