Time range query

Signed-off-by: yury.kaliada <fut.wrk@gmail.com>