Yii2 Jalali date library
Yii2 Jalali date library based on jdf library for yii2 by Hooman.Mirghasemi
The preferred way to install this extension is through composer.
php composer.phar require --prefer-dist elephantsgroup/eg-jdf "*"
to the require section of your
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.