PHP Classes
elePHPant
Icontem

Jalali (Shamsi) DateTime Class: Convert and format dates in the Jalali calendar

Recommend this page to a friend!

  Author Author  
Name: Sallar Kaboli <contact>
Classes: 1 package by
Country: Iran Iran
Age: 28
All time rank: 334871 in Iran Iran
Week rank: 983 Up26 in Iran Iran Up


  Detailed description   Download Download .zip .tar.gz   Install with Composer Install with Composer  
This class can convert and format dates in the Jalali calendar.

It provides functions equivalent to PHP functions to deal with dates in the Jalali calendar.

The class provides mainly equivalent functions for PHP date and mktime.

Details
{startverticalbanner}
# jDateTime
Jalali (Shamsi) DadeTime class written in PHP, Supports year higher than 2038.  

### About v2.0.0

PHP's default `date` function does not support years higher than  
2038, so the `DateTime` class was introduced in PHP5 to solve this problem and provide more sophisticated date methods. Iranian users have been using an old `jdate` function to convert Gregorian date to the Jalali equivalent, which completely based on the old `date` function so its out-dated. 

### Contributors:
- [Sallar Kaboli](http://sallar.me)  
- [Omid Pilevar](http://pilevar.ir)  
- [Amir Latifi](http://amiir.me)

### Requirements
jDateTime Requires **PHP >= 5.2**  

### License
jDateTime was created by [Sallar Kaboli](http://sallar.me) and released under the [MIT License](http://opensource.org/licenses/mit-license.php).

Copyright (C) 2012 [Sallar Kaboli](http://sallar.me)  
Part of Phoenix Framework (p5x.org) by [Phoenix Alternatvie](http://p5x.org)
  
Original Jalali to Gregorian (and vice versa) convertor:  
Copyright (C) 2000  Roozbeh Pournader and Mohammad Toossi

### Resources
- [List of supported timezones](http://www.php.net/manual/en/timezones.php)  
- [Documentation and Instructions in Persian](http://sallar.me/projects/jdatetime)  
- [Project page in phpclasses.org](http://www.phpclasses.org/jdatetime)   

### Support This Project
  
[![Donate via Paypal](https://www.paypalobjects.com/en_US/i/btn/btn_donate_SM.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=R7Y6R3UZLUNP6)


# Documentation
*Yet to be written. Please check back soon.*

  Classes of Sallar Kaboli  >  Jalali (Shamsi) DateTime Class  >  Download Download .zip .tar.gz  >  Support forum Support forum (2)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Jalali (Shamsi) DateTime Class
Base name: jdatetime
Description: Convert and format dates in the Jalali calendar
Version: 2.0.0
PHP version: 5.2
License: MIT/X Consortium License
All time users: 402 users
All time rank: 6270
Week users: 0 users
Week rank: 778 Equal
 
  Groups   Rate classes User ratings   Applications   Related pages   Files Files  

  Groups  
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Time and Date Time and date values, formats and conversion View top rated classes


  User ratings  
Not enough user ratings

  Applications that use this package  
31Shab.com
Sum up your days (Persian)

Add link image If you know an application of this package, send a message to the author to add a link here.


  Related pages  
GitHub Page
Updated frequently
Guides and Docs
Author's Website

  Files folder image Files  
File Role Description
Plain text file jdatetime.class.php Class Base Class
Accessible without login Plain text file examples-static.php Example Example script
Accessible without login Plain text file examples.php Example Examples
Accessible without login Plain text file README.md Doc. Auxiliary data

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