How to use queries to get list of pages instead of blocks?

I found how to get list of pages by name
but i need to get all pages created between a given time period
how can i do that?