Hello!
How would I go about computing the time, every 45 minutes after a user-entered time? for example, a user enters 05:00, I would like to see
05:45
06:30
07:15
08:00
etc
I figure it will be done using DATE, so I have tried:
$s1 = $sunuptime(date('G:i')+0:45);
<tr>
<td>1st</td>
<td>' .$s1. '</td>
</tr>
But I am getting an error, pointing to a problem with my $s1= line.. I am unsure how to format it so it would add 45 mins to the time entered.
(Looking at the code, I am certain I am royally screwing it up, I am, now wondering if I need to convert the time entered to a DATE
$s1=date('G:i')
And then figure a way to add 45 mins to that...