Query to retrieve past days records

Hey! I received some great assistance from the community before putting together a numeric filter for my search function; but now I have another hopefully “minor” challenge. When my web app first loads, I would like to have a list of records pulled from Algolia only from the past 24 hours. I need these to be automatically displayed without the user manually conducting a query. If anyone has insight on how to accomplish this, it would be greatly appreciated. Thanks in advance for any help that comes my way!