Created
January 5, 2017 16:07
-
-
Save YurePereira/2389dde5db85acc4dbe2914a85b7a2aa to your computer and use it in GitHub Desktop.
Exibição básica de data em PHP com a classe DateTime.
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
| <?php | |
| $dt = new DateTime(); | |
| echo $dt->format('Y-d-m'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment