- date_create: documentation ( source)
- strtotime: documentation ( source)
- date_format: documentation ( source)
<?php
$value = '27.11.1966';
if (!empty($value) || (strtotime($value) > 0) ) {
$bdate = date_format(date_create($value), "d.m.Y");
echo $bdate;
}
?>