PHP code example of shahimian / yii2-dategj
1. Go to this page and download the library: Download shahimian/yii2-dategj library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
shahimian / yii2-dategj example snippets
<?= $dt = \Yii::createObject([
'class' => \shahimian\dategj\DateGJ::className(),
'datetime' => '2019-09-08 11:56', /* format YYYY-MM-DD HH:MM */
]);
php composer.phar