I would like for my query to have a criteria of the previous date, not the current date. how do I do this