jalali callendar for yii2
jalali callendar for yii2, (*1)
Installation
The preferred way to install this extension is through composer., (*2)
Either run, (*3)
php composer.phar require --prefer-dist persianyii/jalali "dev-master"
or add, (*4)
"persianyii/jalali": "dev-master"
to the require section of your composer.json
file., (*5)
Usage
Once the extension is installed, simply use it in your code by :, (*6)
php
<?= \persianyii\jalali::jdate('Y/m/d H:i',time()) ?>
, (*7)