kindly I am trying to use input time widget , but when I set the time it doesn’t work at the set time, it is only working at the time I press OK in the app.
The problem is with your sketch.
The Time Input widget requires a string datastream, ad in your sketch you need a BLYNK_WRITE handler that will extract the start time and end time fields.
These fields are in milliseconds since midnight, so you need to get the current time via the RTC functionality and calculate the milliseconds since midnight.
You then need a routine - probably called every second or so - which checks compares the on and off times to the current time and takes the appropriate action if they have.
I’d recommend that you use Automations instead. That way the hard work is done on the server and you simply need a BLYNK_WRITE handler for the datastream that is being switched by the automation.
The Time Input widget does work the same way as Legacy.
I suspect that in Legacy you were actually using the Timer widget not the Time Input widget.
There is no Timer widget in Blynk IoT, it’s been replaced with Automations.