Created
April 8, 2015 12:49
-
-
Save LocalCommit/3c50b072741d04e3b1f6 to your computer and use it in GitHub Desktop.
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
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>Today’s Date</title> | |
| </head> | |
| <body> | |
| <p>Today’s date (according to this web server) is | |
| <?php | |
| echo date('l, F jS Y.'); | |
| ?> | |
| </p> | |
| <p>Сегодня дата (согласно серверу): | |
| <?php | |
| echo strftime('%d, %m, %Y'); | |
| ?> | |
| </p> | |
| <p>Сегодня дата (согласно серверу): | |
| <?php | |
| setlocale(LC_ALL, "russian"); | |
| echo strftime('%d, %B, %Y'); | |
| ?> | |
| </p> | |
| </body> | |
| </html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment