Se strtotime() och date()
t.ex. 2010-02-03 22:21:26
till 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() och date()
t.ex. 2010-02-03 22:21:26
till 3rd February 2010 at 22:21
:
$DateTimeStr = '2010-02-03 22:21:26';
echo date('jS F Y \a\t G:i', strtotime($DateTimeStr));