I wrote the following function and solved my problem: function ArDate($Date) { $EnglishMonths = array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"); $ArabicMonths = array("كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول"); $ArDate = str_replace($EnglishMonths,$ArabicMonths,$Date); return $ArDate; } thanx all... On Tue, Feb 17, 2009 at 5:46 PM, SaEeDoS <saeedos@xxxxxxxxx> wrote: > i'm using this function : > <?php > $todayMonth=date("M",time()); > $monthNames=monthName($todayMonth); > > function arabicMonthNames($date) > { > switch ($date) > { > case 01: > return $monthNames="íäÇíÑ"; > break; > case 02: > return $monthNames="ÝÈÑÇíÑ"; > break; > case 03: > return $monthNames="ãÇÑÓ"; > break; > case 04: > return $monthNames="ÅÈÑíá"; > break; > case 05: > return $monthNames="ãÇíæ"; > break; > case 06: > return $monthNames="íæäíæ"; > break; > case 07: > return $monthNames="íæáíæ"; > break; > case 08: > return $monthNames="ÃÛÓØÓ"; > break; > case 09: > return $monthNames="ÓÈÊãÈÑ"; > break; > case 10: > return $monthNames="ÃßÊæÈÑ"; > break; > case 11: > return $monthNames="äæÝãÈÑ"; > break; > case 12: > return $monthNames="ÏíÓãÈÑ"; > break; > } > } > ?> > > i hope it can be useful > > --- In php-objects@xxxxxxxxxxxxxxx <php-objects%40yahoogroups.com>, > Mohammad Al-Naji <mnaji.qx@...> > wrote: > > > > do you have any idea how to write the date in arabic char like > [ßÇäæä ËÇäí]? > > > > -- > > Kind Regards, > > Mohammad Al-Naji > > > > > > [Non-text portions of this message have been removed] > > > > > -- Kind Regards, Mohammad Al-Naji [Non-text portions of this message have been removed]