Created
January 5, 2017 21:40
-
-
Save YurePereira/0d76651c4c2b2c1b36d26c67a5ecb14d to your computer and use it in GitHub Desktop.
Pegando a data e hora atual do servidor
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 | |
| $currentDateTime = new DateTime(); | |
| echo $currentDateTime->format('d-m-Y H:i:s'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment