I am working also trying to get the timestamp from database and try to change its time.
If i am getting time 10:00:00 then i am trying to make it 10:15 10:30 10:45 11:00 and soo on....
$year = substr($arr["time_from"],0,4); echo"<BR>";
echo $year;
$month = substr($arr["time_from"],4,2);
echo $month;
$day = substr($arr["time_from"],6,2); echo $day;
$hours = substr($arr["time_from"],8,2); echo"<BR>";
echo"Hours = "; echo $hours;
$minutes = substr($arr["time_from"],10,2); echo"<BR>";
echo"Minutes = "; echo $minutes; echo"<BR>";
$seconds = substr($arr["time_from"],12,2); echo"<BR>";
echo"sec = "; echo $seconds;
echo"<BR>";
echo"<p>";
Here whatever time i get from database i am trying to increase it by 15 minutes and make slots as such..
If anybody can help this it out please reply or send mail at chanderjit@hotmail.com
Thanks