Updated: 09/19/2007


This class can be used to format times and dates in Arabic. It implements functionality similar to PHP date function. It takes as parameters a timestamp integer value and a date format string. The class returns a string formatted represented the given date in Arabic encoded using the Windows-1256 character set. The names of the months, days of the week and AM and PM references are translated into the Arabic equivalents. The class can also convert a data from the Gregorian calendar (represented in timestamp input) into a data Hegri Islamic calendar using same format string of the PHP date function. This class is part of Khaled Al-Shamaa project for PHP and Arabic language: php/arabic/