How can i calculate date in php
<p>Actually this is a bit tricky. I'm setting a food delivery system. When a buyer buys food from this webpage, he gets a mail that will says when the food will be delivered (an estimated time of delivery). If he buys between 00:00AM to 10:00AM, he gets his meal at 1230 PM. If he buy buys between 14:00 to 23:59, he gets his meal the next day at 1230PM. Needless to say, the food service is closed of taking order between 10:01 to 13:59. I already have the mailer system written, the only thing i don't have is the code to calculate when his food will be delivered. Can anybody help? Thanks</p>
