$where = "BETWEEN January 1 AND February 1";
As per the question, how do I use tp6's where() query after assigning a value to a variable?
where(['field name'=>['between',['start time','end time']]]);
where(['field name'=>['between',['start time','end time']]]);