Wednesday, March 26, 2014
Change Date format in PHP
<?php
$originalDate = "23/05/2014"; /*Your Date*/
$date = date("d-m-Y", strtotime($originalDate));
?>
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment