Localization: ArDate
Khaled Al-Shamaa (contact me)
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:
http://www.al-shamaa.com/php/arabic/
| Utility
| Consistency
| Docs
| Examples
| Tests
| Videos
| Overall
| Rank
|
| Perfect (100.0%)
| Good (91.7%)
| Good (95.8%)
| Perfect (100.0%)
| -
| -
| Sufficient (78.8%)
| 7 |
Click here for detailed information about this class on phpclasses.org