Yii2 Jalali date library

Installs: 34

Dependents: 13

Suggesters: 0

Stars: 0

Watchers: 1

Forks: 1

Type:yii2-extension

1.0.0 2018-04-05 09:22 UTC

README

Yii2 Jalali date library based on jdf library for yii2 by Hooman.Mirghasemi

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist elephantsgroup/eg-jdf "*"

or add

"elephantsgroup/eg-jdf": "*"

to the require section of your composer.json file.

Usage

Once the extension is installed, simply use it in your code by :

<?php 
use elephantsGroup\jdf\Jdf;
?>
<?= Jdf::jdate('H:i:s'); ?>```


This extension built with http://jdf.scr.ir/ you can get full document there.