PHPackages                             nkovacs/yii2-datetimepicker - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Templating &amp; Views](/categories/templating)
4. /
5. nkovacs/yii2-datetimepicker

ActiveYii2-extension[Templating &amp; Views](/categories/templating)

nkovacs/yii2-datetimepicker
===========================

Bootstrap datetimepicker widget for Yii 2, based on Eonasdan/bootstrap-datetimepicker.

3.1.1(4y ago)1062.7k↓37.9%6BSD-3-ClausePHPPHP &gt;=5.4.0

Since Oct 13Pushed 4y ago1 watchersCompare

[ Source](https://github.com/nkovacs/yii2-datetimepicker)[ Packagist](https://packagist.org/packages/nkovacs/yii2-datetimepicker)[ RSS](/packages/nkovacs-yii2-datetimepicker/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (9)Dependencies (3)Versions (18)Used By (0)

Datetime picker widget
======================

[](#datetime-picker-widget)

Bootstrap datetimepicker widget for Yii 2, based on [Eonasdan/bootstrap-datetimepicker](https://github.com/Eonasdan/bootstrap-datetimepicker).

Installation
------------

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist nkovacs/yii2-datetimepicker "*"

```

or add

```
"nkovacs/yii2-datetimepicker": "*"

```

to the require section of your `composer.json` file.

Usage
-----

[](#usage)

Once the extension is installed, simply use it in your code:

```
