I didnt want to hard code the names , so we made this up: function getDayName($day, $lang=''){ if ($locale = Language::getLocale($lang)) { setlocale(LC_TIME, $locale); } $sunday = strtotime('1 January 1995'); // That day was a Sunday return strftime("%A", $sunday+(3600*24*$day)); }
"Richard Davey" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello Diana, > > Thursday, March 18, 2004, 12:00:55 PM, you wrote: > > DC> yes but I want it in various languages. > > Not in your *original* post you didn't (the one that I replied to). > Besides, it wouldn't be that hard to modify to make it happen. > > -- > Best regards, > Richard Davey > http://www.phpcommunity.org/wiki/296.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php