Skip to content

PHP class to convert dates from Gregorian calendar system to Jalali calendar system and vice versa.

License

Notifications You must be signed in to change notification settings

borsaco/JalaliDateTime

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

jalaliDateTime

PHP class to convert dates from Gregorian calendar system to Jalali calendar system and vice versa. Supports dates beyond 2038.
Jalali, also known as Shamsi or Hijri Shamsi is the Iranian calendar system.

Installation

Using Composer

You can install this package using composer.

composer require borsaco/jalali-date-time

Manual Installation

Get a copy of package source code. You can do this in two ways:

  1. Download ZIP version of the source code and unzip it in desired location
  2. Run git clone https://github.com/borsaco/JalaliDateTime.git to clone this repository

After getting a copy of source code, it is enough to include jdatetime.class.php where you need to use it.

require_once 'path/to/source/jdatetime.class.php';

About

PHP class to convert dates from Gregorian calendar system to Jalali calendar system and vice versa.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages