What I'm trying to do is get the correct time of the user browsing my website and add 10 minutes to the current time. Here is hte code I have:
<?php
$now = time();
$closetime = $now+600;
echo strftime("%A %b %e %I:%M%p %Z",$closetime) . "\n";
?>
Everything works as I intended, the only issue that the timezone is off. I'm currently on the eastcoast so its 12:55 here, but the above code would output: Monday Oct 7 12:05PM CDT
which is 1 hour behind what I want.
How do I make this appear correctly for the user so no matter what country or timezone it will always display 10 minutes from the current time?