I'd like to range from 8 to 9 am and within 20 minutes with my views on the table 8,8:20,8:40:9 Now this is what I generally do so should Try and display Start and end time and the limited time of database calls
$nowtime = "15:45";
$endtime="17:45";
echo $nowtime;
$date =date("g:i",strtotime($nowtime . ' + 5 minute'),$endtime);
echo "<br>".$date;
then print one record how can print start and end time
<?php
$start = microtime(true);
//Your Script Content here
$end = microtime(true);
$time = number_format(($end - $start), 2);
echo 'This page loaded in ', $time, ' seconds';
?>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With