Login   Register  
PHP Classes
elePHPant
Icontem

ArDate: Format times and dates in Arabic

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (8)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2006-12-17 (7 years ago) RSS 2.0 feedStarStarStarStar 78%Total: 2,194 This week: 1All time: 1,666 This week: 1,524Up
Version License PHP version Categories  
ardate 1.0GNU General Public Lice...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
Name: Khaled Al-Shamaa <contact>
Classes: 22 packages by
Country: Syria Syria
Age: 39
All time rank: 601 in Syria Syria
Week rank: 41 Up1 in Syria Syria Equal
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,194All time:1,666
 This week:1This week:1,524Up
 User Ratings  
 
 All time
Utility:100%StarStarStarStarStarStar
Consistency:90%StarStarStarStarStar
Documentation:96%StarStarStarStarStar
Examples:96%StarStarStarStarStar
Tests:-
Videos:-
Overall:78%StarStarStarStar
Rank:15