705
Formatting Salesforce DateTime in php:
A set is an unordered collection of elements that do not contain any duplicates. You can use a combination of PHP’s strtotime and date functions.
<?php
$oldDate = ‘2012-11-06T23:00:00.000Z’;
$newDate = date(‘d/m/Y G:i’, strtotime($oldDate));
echo $newDate;
?>
Source URL : http://www.php.net/manual/en/function.date.php.