PHP Classes

ArDate: Format times and dates in Arabic

Recommend this page to a friend!
  Info   View files View files (8)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 74%Total: 2,396 This week: 1All time: 1,627 This week: 560Up
Version License PHP version Categories
ardate 1.0GNU General Publi...4.0Localization, Time and Date
Description 

Author

This package is specific mainly for applications used in Saudi Arabia Saudi Arabia .

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/

Innovation Award
PHP Programming Innovation award winner
December 2006
Winner


Prize: One copy of the Zend Studio
PHP provides an extensive set of functions to manipulate and format date and time values. However, these functions only work with the Gregorian calendar.

This class provides an alternative that works with the Arabic calendar.

Manuel Lemos
Picture of Khaled Al-Shamaa
  Performance   Level  
Name: Khaled Al-Shamaa <contact>
Classes: 22 packages by
Country: Egypt Egypt
Age: 48
All time rank: 481 in Egypt Egypt
Week rank: 106 Down3 in Egypt Egypt Down
Innovation award
Innovation award
Nominee: 10x

Winner: 4x

  Files folder image Files  
File Role Description
Files folder imageimages (3 files)
Files folder imagephp5 (1 file)
Accessible without login HTML file about.html Doc. Documentation
Plain text file ArDate.class.php Class Class file
Accessible without login Plain text file example.php Example Example script
Accessible without login Plain text file style.css Data Class file

  Files folder image Files  /  images  
File Role Description
  Accessible without login Image file alpha.png Icon Image
  Accessible without login Image file shadow.gif Icon Image
  Accessible without login Image file thumb.jpg Icon Image

  Files folder image Files  /  php5  
File Role Description
  Plain text file ArDate.class.php Class Class file

 Version Control Unique User Downloads Download Rankings  
 0%
Total:2,396
This week:1
All time:1,627
This week:560Up
 User Ratings  
 
 All time
Utility:94%StarStarStarStarStar
Consistency:86%StarStarStarStarStar
Documentation:91%StarStarStarStarStar
Examples:91%StarStarStarStarStar
Tests:-
Videos:-
Overall:74%StarStarStarStar
Rank:106