[ create a new paste ] login | about

Link: http://codepad.org/O73INg7p    [ raw code | output | fork ]

PHP, pasted on Feb 22:
1
2
3
4
5
<?php
$a = "2016-03-01T03:00:00Z";
echo date("d/m/Y H:i A",strtotime($a));

?>


Output:
1
01/03/2016 03:00 AM


Create a new paste based on this one


Comments: