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