This code works for all years, ignoring the year, as its every year your birthday, not just matching one year!
// $dob = '1999-04-02'; $time = strtotime($dob); if(date('m-d') == date('m-d', $time)) { echo "";
}