$startime = "2011-07-23 23:59"; //(today)
$starttime = strtotime($startime);
$oneday = 606024;
if( $starttime < (time()-$oneday) ) {
echo 'more than one day since start';
} else {
echo 'started within the last day';
}
is returning "1311397199" (seconds)
86400 is in 24 hours.
seems like way too many seconds difference... not sure why this would be