}
my $dob_dt;
$borrower{'dateofbirth'} =
$dob_dt = eval { dt_from_string( $borrower{'dateofbirth'} ); }
eval {
if ( defined( $borrower{'dateofbirth'} ) );
output_pref ( { dt => dt_from_string( $borrower{'dateofbirth'} ) , dateonly => 1, dateformat => 'iso' } );
};
$borrower{'dateofbirth'} = output_pref ( { dt => $dob_dt, dateonly => 1, dateformat => 'iso' })
if ( $dob_dt );
return %borrower;
-