Created
June 15, 2015 09:06
-
-
Save Quinten/b4fcfce3a3bc2b32cbc8 to your computer and use it in GitHub Desktop.
transform a date
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$originalDate = "2010-03-21"; | |
$newDate = date("d-m-Y", strtotime($originalDate)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment