setlocale problem
Posted: Sat Jan 14, 2012 5:14 am
Hi
What i'm trying to do is to have posibility to display day names in other languages.
Code below works perfect with english, but dosent seems to work with dutch or french for instance. Still displays in english.
Missing something here ?? Can someone help me with it?
Thank you very much in advance
What i'm trying to do is to have posibility to display day names in other languages.
Code below works perfect with english, but dosent seems to work with dutch or french for instance. Still displays in english.
Code: Select all
setlocale(LC_TIME, 'NL_nl');
$datestamp=$_POST['datestamp'];
echo "$datestamp";
echo strftime('%A %e %B %Y ', strtotime($datestamp));
$weekday = date('l', strtotime($datestamp));
echo $weekday;
Thank you very much in advance