dev-master
9999999-devDate time handler for yii2
Apache-2.0
The Requires
by Inquid
extension yii2 date time timestamp
Date time handler for yii2
Date time handler for yii2, (*3)
The preferred way to install this extension is through composer., (*4)
Either run, (*5)
php composer.phar require --prefer-dist inquid/yii2-date-time-handler "*"
or add, (*6)
"inquid/yii2-date-time-handler": "*"
to the require section of your composer.json
file., (*7)
Once the extension is installed, simply use the methods you need as the following:, (*8)
\inquid\date_time\DateTimeHandler::formatDate($date,'Y-m-d'); \inquid\date_time\DateTimeHandler::now(); \inquid\date_time\DateTimeHandler::getWeekNumberByDate('2018-09-09');
And thats it!, (*9)
Date time handler for yii2
Apache-2.0
extension yii2 date time timestamp