Created
March 19, 2012 15:49
-
-
Save o/2116905 to your computer and use it in GitHub Desktop.
Localized date time example
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 | |
// Check your supported locales with $ locale -a | |
setlocale(LC_TIME, 'tr_TR.UTF-8'); | |
echo strftime("%d %B %Y %A"); | |
// 19 Mart 2012 Pazartesi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment