Re: [PHP] Problems of conversion with strftime()

2001-03-28 Thread Yasuo Ohgaki
Optional 2nd param for date() and strftime() is UNIX timestamp (i.e. integer - seconds from epoch) So I suppose all works as it should. -- Yasuo Ohgaki "Evelio Martinez" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > setlocale("LC_ALL","es_ES"); > $fecha =

[PHP] Problems of conversion with strftime()

2001-03-28 Thread Evelio Martinez
";-> 28-03-2001 ok $fecha = "2001-03-28 18:22:00"; print (date("d m Y H:i:s",$fecha)) ."";->01 01 1970 01:33:21wrong print (date("Y m d H:i:s",$fecha)) ."";->1970 01 01 01:33:21wrong print (strftime("%d-%