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 help me,
>
> How to get Month name accor
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
2 matches
Mail list logo