I love you so much BirdOPrey5, you solve my problem!
Quote:
Originally Posted by BirdOPrey5
OK well first you need the unix timestamp for that date. Since it's a static date that isn't changing we can get the actual timestamp rather than generate it with PHP-
I googled Unix Timestamp and the very first link was a calculator:
http://www.unixtimestamp.com/index.php
The timestamp for 0:0:00 hours on March 1, 2011 is: 1298959200
Therefore for your conditionals you will simply compare $post['dateline'] to the timestamp...
PHP Code:
if ($post['dateline'] < 1298959200) //If the date is less than March 1, 2011 { //run your code }
|