Login   Register  
PHP Classes
elePHPant
Icontem

ArDate

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Khaled Al-Shamaa  >  ArDate  >  Download .tar.gz .zip  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: ArDate
Base name: ardate
Description: Format times and dates in Arabic
Related classes: , , , , , , ,
Version: 1.0
PHP version: 4.0
License: GNU General Public License (GPL)
All time users: 1910 users
All time rank: 1761
Week users: 7 users
Week rank: 448
Country specific: This package is specific mainly for applications used in Saudi Arabia Saudi Arabia .
 

  Author  
Picture of Khaled Al-Shamaa
Name: Khaled Al-Shamaa <e-mail contact>
Packages: 22 Browse all classes by Khaled Al-Shamaa Browse all classes by
Country: Syria Syria - PHP jobs in Syria
Age: 36
All time rank: 721 in Syria Syria
Week rank: 34 Up1 in Syria Syria Equal
Innovation award
Innovation award
Nominee: 10x

Winner: 4x


  Detailed description  
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/

  Groups   Rate classes User ratings   Trackback   Applications   Files Files  

  Groups  
Group folder image Localization Internationalization and translations View top rated classes
Group folder image Time and Date Time and date values, formats and conversion View top rated classes


  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

  User ratings  
Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Perfect (100.0%)
Good (90.6%)
Good (96.9%)
Good (96.9%)
-
-
Sufficient (78.4%)
12
Month:
Not yet rated by the users

  Trackback links  
Link Description
ArDate - Format times and dates in Arabic This class can be used to format times and dates in Arabic...
Award nominee notification! Congratulations Khaled,...

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Files folder imageimages (3 files)
Files folder imagephp5 (1 file)
HTML file about.html Doc. Documentation
Plain text file ArDate.class.php Class Class file
Plain text file example.php Example Example script
Plain text file style.css Data Class file

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

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

Download all files: ardate.tar.gz ardate.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.