Ray:
The code I'm using is this one:
<input name="adv1Date" type="text" id="adv1Date" value="<?php echo(date("d.m.Y", strtotime($row_WADApslip['adv1Date']))); ?>" size="10" readonly="readonly" />
Just in case, attached please find a copy of one of the pages that uses that code.