Greetings all.

I have used strtotime() function in the past, and done this:

if($time >= strtotime('24 hours ago')) {
$new = "new!";
}

with it being in UNIX time stamp .. But now I have a different client where
the time stamp in mysql is formatted like:
2002-08-29 10:53:09

what function would I use in this case, date() ? If so, how would I do the
same exact thing?

thanks.

warm regards,
Sebastian - [BBR] Gaming Clan
http://www.broadbandreports.com

Reply via email to