2017 © Pedro Peláez
 

yii2-extension yii2-date-time-handler

Date time handler for yii2

image

inquid/yii2-date-time-handler

Date time handler for yii2

  • Monday, March 19, 2018
  • by gogl92
  • Repository
  • 1 Watchers
  • 0 Stars
  • 2 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Yii Framework , (*1)

Donate, (*2)

Yii2 Datetime Handler

Date time handler for yii2, (*3)

Installation

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)

Usage

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)

SUPPORT

paypal, (*10)

The Versions

19/03 2018

dev-master

9999999-dev

Date time handler for yii2

  Sources   Download

Apache-2.0

The Requires

 

by Inquid

extension yii2 date time timestamp