note 6638 modified in setlocale by ronabop
| From: | ronabop@php.net | Date: | Fri, 24 Nov 2000 06:04:03 +0000 |
| Subject: | note 6638 modified in setlocale by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-8054@lists.php.net to get a copy of this message | ||
I used setlocale and then strftime like this:
setlocale('LC_TIME','swedish');
echo strftime("%A",$timestamp);
Works prefectly under Windows.
http://www.php.net/manual/function.setlocale.php