support time range query