Вижте strtotime() и date()
напр. 2010-02-03 22:21:26
до 3rd February 2010 at 22:21
:
$DateTimeStr = '2010-02-03 22:21:26';
echo date('jS F Y \a\t G:i', strtotime($DateTimeStr));
Вижте strtotime() и date()
напр. 2010-02-03 22:21:26
до 3rd February 2010 at 22:21
:
$DateTimeStr = '2010-02-03 22:21:26';
echo date('jS F Y \a\t G:i', strtotime($DateTimeStr));