datetime-input - Vaadin Add-on Directory
an input for date and time[![Published on NPM](https://img.shields.io/npm/v/@fooloomanzoo/datetime-input.svg)](https://www.npmjs.com/package/@fooloomanzoo/datetime-input)
[![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://www.webcomponents.org/element/@fooloomanzoo/datetime-input)
_[API & Demo](https://fooloomanzoo.github.io/datetime-input)_
## \
An input for date and time.
If you are looking for a picker for date and time, please have a look at [datetime-picker](https://github.com/fooloomanzoo/datetime-picker).
### Example
```html
with timezone
datetime:
[[datetime]]
date:
[[date]]
time:
[[time]]
value:
[[value]]
locale:
hour12 format
datetime: [[datetime]]
``` ### Styling Have a look at [input-picker-pattern#input-shared-style](https://github.com/fooloomanzoo/input-picker-pattern#input-shared-style) to see how to style the element. ### Installation ``` npm i @fooloomanzoo/datetime-input ``` ### License [MIT](https://github.com/fooloomanzoo/datetime-input/blob/master/LICENSE.txt)