Login   Register  
PHP Classes

Class: ArDate

Icontem
elePHPant

  Classes of Khaled Al-Shamaa  >  ArDate  >  Download  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: ArDate Support forum
Base name: ardate
Description: Format times and dates in Arabic
Version: 1.0
Required PHP version: 4.0
License: GNU General Public License (GPL)
Country specific: This package is specific mainly for applications used in Saudi Arabia Saudi Arabia .
 
  Author   Group folder image Groups   Detailed description  
  Trackback   Applications   Files Files  

Author

Picture of Khaled Al-Shamaa
Name: Khaled Al-Shamaa <e-mail contact>
Published packages: 21 Browse this author's classes Browse this author's classes
Country: Syria Syria - PHP jobs in Syria
Home page: http://www.ar-php.org/

Innovation Award

PHP Programming Innovation award winner
December 2006
Winner
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

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

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/

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

File Role Description
HTML file about.html Doc. Documentation
Plain text file ArDate.class.php Class Class file
Plain text file example.php Example Example script
Files folder image images
  Image file alpha.png Icon Image
  Image file shadow.gif Icon Image
  Image file thumb.jpg Icon Image
Files folder image php5
  Plain text file ArDate.class.php Class Class file
Plain text file style.css Data 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.