Break out datetime.now() for mocking
Break out datetime.now() for mocking

So that we can predict the return values of `get_time_range()` when testing.
It's not possible to mock stdlib modules/methods.

gds-operations/collectd-cdn