Good afternoon 🙂 (its 2:30 pm here in finland)
This can be done in various ways. If you are on PHP5 server, this is one way:
$dt = new DateTime($r['datefield_from_db']);
echo $dt->format('F d,Y');
Or if you want to use PHP 4 compatible format(works ofcourse in PHP5 too):
echo date('F d,Y',strtotime($r['datefield_from_db']));
Read the manual and check [man]date[/man] for other options to format the date.