In this tip I can share you a simple but very useful piece of code. With help of this code, you can generate a time slot between any given number of the interval in a minute. For example, if you want to give a slot time for 15 minutes from 10 Am to 2 Pm you can use this code as shown below.

Hope this code helps you 🙂

Thanks

Posted in: PHP