Hello @Asma Naser and welcome to the QnA forums
How to specify start and end date for http trigger in logic app
In the title of the thread you asked about "http trigger" but in the content you speak about "HTTP connector". I will assume that you speak about http trigger.
In this case...
Option 1: Using the Trigger conditions
1- Go to your logic app.
2- On the trigger, click on the three dots (...) at the top right corner.
3- Select Settings.
4- Scroll down to Trigger Conditions.
5- Specify your conditional expression.
6-Click Done.
Option 2: disable/enable Logic Apps
you do not need to specify the range time for the trigger, but the range time of the total logic apps itself, or in other words, you simply need to enable the Logic Apps during that range time and disable it outside the range.
If the Logic Apps is disabled the no trigger is executed.
This can be done in any scheduling tool like PowerShell, Azure Automation, or even another Azure Logic Apps which uses Recurrence trigger.