szenczi
Posts: 67
|
| Posted: 06/08/2008, 7:47 AM |
|
Hi,
I use the CCFormatDate function in a listbox's beforeshow, but it doesn't work well under Linux based server. In the listbox appear only january six times over.
What would be the problem? Under Windows it works well.
...
$monthitems[$i] = date("F",mktime(0,0,0,date("n")+1+$i,0,0));
$monthitems[$i] = CCFormatDate(strtotime($monthitems[$i]),array("mmmm"));
...
$hallginaktiv->month->Values = array(array("1",$monthitems[1]),array("2",$monthitems[2]),array("3",$monthitems[3]),array("4",$monthitems[4]),array("5",$monthitems[5]),array("6",$monthitems[6]));
...
Thanks,
Norbert [
_________________
CCS5.1, PhP, MySQL |
 |
 |
|