Re: [PHP] Locale Month Name

2001-09-07 Thread Papp Gyozo
LC_* are predefined constants, so: setlocale(LC_ALL, "LT"); - Original Message - From: Veniamin Goldin <[EMAIL PROTECTED]> To: php <[EMAIL PROTECTED]> Sent: Thursday, August 30, 2001 11:37 AM Subject: [PHP] Locale Month Name > Hello ! > > Please hel

RE: [PHP] Locale Month Name

2001-08-30 Thread Don Read
On 30-Aug-2001 Veniamin Goldin wrote: > Hello ! > > Please help me, > > How to get Month name according to server's locale setings ? > > I tryed to use: > > setlocale("LC_ALL", "LT"); > $month = strftime("%B", mktime(0,0,0,$m,1,$y)); > > But I get message: > > Warning: Passing locale cate

[PHP] Locale Month Name

2001-08-30 Thread Veniamin Goldin
Hello ! Please help me, How to get Month name according to server's locale setings ? I tryed to use: setlocale("LC_ALL", "LT"); $month = strftime("%B", mktime(0,0,0,$m,1,$y)); But I get message: Warning: Passing locale category name as string is deprecated. Use the LC_* -constants instead.