PHPackages                             simialbi/yii2-widget-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. simialbi/yii2-widget-datetimepicker

ActiveYii2-extension[Utility &amp; Helpers](/categories/utility)

simialbi/yii2-widget-datetimepicker
===================================

yii2 widget based on tempus dominus

2.6.1(3y ago)31.0k3MITPHPPHP &gt;=7.3

Since Oct 4Pushed 3y ago1 watchersCompare

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

READMEChangelog (10)Dependencies (5)Versions (42)Used By (0)

yii2-widget-datetimepicker
==========================

[](#yii2-widget-datetimepicker)

This extension provides a `date`, `time` or `datetime` picker widget for yii2 framework in **Bootstrap 4** style. It's based on [Tempus Dominus](https://tempusdominus.github.io/bootstrap-4/).

Resources
---------

[](#resources)

- [yii2](https://github.com/yiisoft/yii2) framework
- [Tempus Dominus](https://tempusdominus.github.io/bootstrap-4/)

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

[](#installation)

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

Either run

```
$ php composer.phar require --prefer-dist simialbi/yii2-widget-datetimepicker

```

or add

```
"simialbi/yii2-widget-datetimepicker": "~2.0"

```

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

Example Usage
-------------

[](#example-usage)

To include datepicker instance in one of your pages, call the widget like this:

```
