Use this:
PHP Code:
$format1 = 'F j, Y';
$format2 = 'F j';
$bday = explode('-', $bbuserinfo['birthday']);
if (date('Y') > $bday[2] AND $bday[2] > 1901 AND $bday[2] != '0000')
{
require_once('./includes/functions_misc.php');
$format1 = mktimefix($format1, $bday[2]);
$bbuserinfo['birthday'] = vbdate($format1, mktime(0, 0, 0, $bday[0], $bday[1], 1992), false, true, false);
}
else
{
$bbuserinfo['birthday'] = vbdate($format2, mktime(0, 0, 0, $bday[0], $bday[1], 1992), false, true, false);
}
$birthdate = $bbuserinfo['birthday'];