Trying to get a date in Swedish, but this won't work:
$unix_time = strtotime($dt_c reated);
setlocale(LC_TI ME, 'sv', 'sve', 'swe', 'sv_SE');
$time = strftime('%A den %d %B', $unix_time);
No matter what I put in setlocale(), I get English weekdays and months.
I'm using PHP 4.3.8 on a UNIX computer, but I'm not in control of the
installation.
Gustaf
$unix_time = strtotime($dt_c reated);
setlocale(LC_TI ME, 'sv', 'sve', 'swe', 'sv_SE');
$time = strftime('%A den %d %B', $unix_time);
No matter what I put in setlocale(), I get English weekdays and months.
I'm using PHP 4.3.8 on a UNIX computer, but I'm not in control of the
installation.
Gustaf
Comment