i would use the following :)

$monthnames = array ("","January", "February",.....,"December");
$aktmonth = 5;  // MAY
echo $monthnames[$aktmonth];

Robert




> -----Ursprüngliche Nachricht-----
> Von: Nadim Attari [mailto:[EMAIL PROTECTED] 
> Gesendet: Montag, 19. April 2004 10:53
> An: [EMAIL PROTECTED]
> Betreff: [PHP-WIN] Re: Format integer to month name
> 
> 
> > Actually, I want to know is there any function of 
> converting integer 
> > from 1 - 12 to Month Name from January to December? i had tried 
> > "JDMonthName( )" & "date( )", but can't get the format i want.
> >
> > I am beginner and using window platform.
> >
> > Thank you very much.
> 
http://www.php.net/date
http://www.php.net/mktime

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to