Convert date timestamp to any format with PHP

gistfile1.php

<?php
    $date = "15-01-28";
    $timestamp = strtotime( $date );
    // See http://php.net/manual/en/function.date.php for available formats
    echo date( "F j, Y", $timestamp );
?>
No comments yet.

Leave a Reply