getPage now supports date pagination