lastname; $firstname = $vcard->firstname; $birthday = $vcard->birthday->format('Y-m-d'); printf("\"%s\",\"%s\",\"%s\"", $lastname, $firstname, $birthday); echo PHP_EOL; }