Please, help about formatting date in a .php page:
…return`
<div class="date">'.date('d M Y - H:m',$d['dt']).'</div>
this id displayed as 21 Dec 2012 - 20:12
I want first row: 21 Dec 2012
——–and second: 20:12
I tried many combinations with <br/>, points, brackets…
You could just use two
date()calls:Or escape properly: