проблема с strftime

lokki

Guest
проблема с strftime

Такая проблема :
PHP:
strftime ("%u", strtotime(date("Y-m-01")))-1;
на сервере работает(unix)
на локальнов XP нет
А,
PHP:
jddayofweek(strtotime(date("Y-m-01")),0);
наооборот
что делать
Версии php одинаковые 4.3.2
 

Demiurg

Guest
1. не работает - безработные
2. Month and weekday names and other language dependent strings respect the current locale set with setlocale(). (с) manual
 

lokki

Guest
Автор оригинала: Demiurg
1. не работает - безработные
2. Month and weekday names and other language dependent strings respect the current locale set with setlocale(). (с) manual
1. Не работает -> работает не правильно(с ошибкой)
2. setlocale(LC_TIME,''); использую
 
Сверху