date range takes date instead of time now