Get the page number for the given date. This function should be as lightweight as possible, as no results here are cached.