Created
April 16, 2018 17:48
-
-
Save MrJSdev/55f8ccb6f0147f889afbd6aa4bcbbe45 to your computer and use it in GitHub Desktop.
This is the code for the guide: http://extracatchy.net/converting-string-to-date/ also check my lyrics website: http://lyroo.net
This file contains 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
<?php | |
$newdate = DateTime::createFromFormat('d-m-Y', '16-04-2018')->format('Y-m-d'); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment