I've got a band website, and I'm using PHP/MySQL to pull info from a database for our performance schedule. I want the page only to display our shows from the current date forward, not any shows that have already happened. To make this happen, here is my SELECT statement:
"SELECT * FROM dates WHERE date >= NOW() ORDER BY date ASC";
This seems to work perfectly except for one thing: the NOW() command seems to use GMT (Greenwich Mean Time), while I'm in the US/Eastern Time Zone. It's a 5 hour difference (4 hours with DST). That means that at 7:01 PM on the night of a show, my page no longer displays today's show, because it's tomorrow in GMT (have I totally confused everyone now?). It's been a real problem for our fans, because they come to our site to get directions to a show, and it's no longer listed.
Any suggestions?
Here's a link to the page:
http://www.mikeestepband.com/dates.php