In PHP4, I need to convert a Unix timestamp in the format '2008-10-21 00:00:00' to an integer timestamp that will work with date(). How do I do it?
EDIT: Right now I'm doing this:
but the date displayed is 31 Dec/69 instead of the correct date.PHP Code:
echo "<strong>".date('d M/y',$sitenews['date'])."</strong><br>\n"