PHPackages                             moonlandsoft/bootui-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. moonlandsoft/bootui-datetimepicker

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

moonlandsoft/bootui-datetimepicker
==================================

Bootstrap Datepicker and Timepicker in one extentions

1.0.0(11y ago)238.2k↓100%2[1 issues](https://github.com/moonlandsoft/bootui-datetimepicker/issues)MITJavaScript

Since Jan 23Pushed 10y ago1 watchersCompare

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

READMEChangelog (2)Dependencies (2)Versions (3)Used By (0)

Bootstrap Date Time Picker
==========================

[](#bootstrap-date-time-picker)

[![Latest Stable Version](https://camo.githubusercontent.com/bb242e5d6325d9db059694534901dbf4b8661e30501dda8071aa020707a1215a/68747470733a2f2f706f7365722e707567782e6f72672f6d6f6f6e6c616e64736f66742f626f6f7475692d6461746574696d657069636b65722f762f737461626c65)](https://packagist.org/packages/moonlandsoft/bootui-datetimepicker) [![Total Downloads](https://camo.githubusercontent.com/f49fc84c2566e8afeffa3f6beaf816adfef193dcf1312cf44cec02ee08c36bcb/68747470733a2f2f706f7365722e707567782e6f72672f6d6f6f6e6c616e64736f66742f626f6f7475692d6461746574696d657069636b65722f646f776e6c6f616473)](https://packagist.org/packages/moonlandsoft/bootui-datetimepicker) [![Latest Unstable Version](https://camo.githubusercontent.com/fe73fb5b7b40244c9d8de9d39e1ba953a519b7344f658b4ff41a0f741dc4f269/68747470733a2f2f706f7365722e707567782e6f72672f6d6f6f6e6c616e64736f66742f626f6f7475692d6461746574696d657069636b65722f762f756e737461626c65)](https://packagist.org/packages/moonlandsoft/bootui-datetimepicker) [![License](https://camo.githubusercontent.com/a3f19fe870aab87138196b0fb26d334036e325d6082193e67465a8710d130c6c/68747470733a2f2f706f7365722e707567782e6f72672f6d6f6f6e6c616e64736f66742f626f6f7475692d6461746574696d657069636b65722f6c6963656e7365)](https://packagist.org/packages/moonlandsoft/bootui-datetimepicker)

Bootstrap Datepicker and Timepicker in one extentions

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

[](#installation)

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

Either run

```
php composer.phar require --prefer-dist moonlandsoft/bootui-datetimepicker "*"

```

or add

```
"moonlandsoft/bootui-datetimepicker": "*"

```

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

Properties
----------

[](#properties)

addon
-----

[](#addon)

Addon is a bootstrap input group addon, you can see [bootstrap input group](http://getbootstrap.com/components#input-groups) to details of documentation. Extend form controls by adding text or buttons before, after, or on both sides of any text-based input.

format
------

[](#format)

You can change format of date or time using this property but this format only use [momentjs date time format](http://momentjs.com/) and not use php date time format. Click [here](http://momentjs.com/docs/#/displaying/format/) to see all of datetime format.

others properties
-----------------

[](#others-properties)

For others properties you can see in [bootstrap-datetimepicker](http://eonasdan.github.io/bootstrap-datetimepicker/Options/). You can directly add the property from bootstrap-datetimepicker and my widget will instantly recognize the property.

Usage
-----

[](#usage)

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

```
