Created
April 16, 2018 17:45
-
-
Save MrJSdev/6131e73d77b3d45d5da0ac1f4681abb0 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 | |
$time = strtotime('16-04-2018'); | |
$converted_date = date('Y-m-d', $time); | |
echo $converted_date; | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment