Added support for betweenTimes