I am setting the locale to dutch, but it does not work on the date function but it does work on strfrtime();
example:
Does anybody know what is wrongPHP Code:<?php
/** Set locale to dutch **/
if(function_exists('setlocale')){
setlocale(LC_ALL, 'nl_NL');
}
echo date('l F Y', strtotime('2008-07-08'));
// Output Tuesday July 2008
echo strftime('%A %B %G', strtotime('2008-07-08'));
// dinsdag juli 2008
?>![]()






Bookmarks