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

  Author Author  
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: 56 Up1 in Syria Syria Equal
Innovation award
Innovation award
Nominee: 10x

Winner: 4x


  Detailed description   Download Download .zip .tar.gz   Install with Composer Install with Composer  
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/

  Classes of Khaled Al-Shamaa  >  ArDate  >  Download Download .zip .tar.gz  >  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
Version: 1.0
PHP version: 4.0
License: GNU General Public License (GPL)
All time users: 2191 users
All time rank: 1662
Week users: 0 users
Week rank: 1445 Equal
Country specific: This package is specific mainly for applications used in Saudi Arabia Saudi Arabia .
 
  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  
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: Perfect (100%) Good (90%) Good (96%) Good (96%) - - Sufficient (78%) 14
Month: Not yet rated by the users

  Pages that reference this package  
ArDate - Format times and dates in Arabic
This class can be used to format times and dates in Arabic...
Award nominee notification!
Congratulations Khaled,...

Latest pages that reference packages Latest pages that reference packages


  Applications that use this package  
No pages of applications that use this class were specified.
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)
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

Install with Composer Install with Composer - Download 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.