I' am comparing date time with today's date time to show or not show the content if its past date. I have checkout this Question on Stackoverflow but with no success.
This is the Code
function vacancy_expire($id, $close_date){
date_default_timezone_set("Pacific/Fiji");
$today = "2014-04-30 04:04";
$close_date = "2014-04-30 16:00";
if( $today > $close_date ){
echo "1";
} else {
echo "0";
}
}