Se strtotime() og date()
f.eks. 2010-02-03 22:21:26
til 3rd February 2010 at 22:21
:
$DateTimeStr = '2010-02-03 22:21:26';
echo date('jS F Y \a\t G:i', strtotime($DateTimeStr));
Se strtotime() og date()
f.eks. 2010-02-03 22:21:26
til 3rd February 2010 at 22:21
:
$DateTimeStr = '2010-02-03 22:21:26';
echo date('jS F Y \a\t G:i', strtotime($DateTimeStr));