# Integration with JSON

Generally, the data which is received from the server is serialized in a [JSON](http://www.json.org/) format.

The date object in JSON is an [ISO8601](https://en.wikipedia.org/wiki/ISO_8601)-formatted date string. For more details, refer to the documentation on the [`JSON.stringify`](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify) method. On the other hand, the DateTimePicker works only with JavaScript [`Date`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) instances.

To bind the DateTimePicker to dates which are serialized as strings, handle the parsing process:

1. Convert the JSON date strings into valid JavaScript `Date` objects by using the `IntlService` or any other suitable `Date` parser.
2. Define the [`value`](https://www.telerik.com/kendo-vue-ui/components/dateinputs/api/datetimepickerprops#value) property of the component.
3. Provide an [`onChange`](https://www.telerik.com/kendo-vue-ui/components/dateinputs/api/datetimepickerprops#onchange) event handler to the DateTimePicker to get the selected `Date` value.

The following example demonstrates how to set the value of the DateTimePicker.

[Demo Source](https://demos.telerik.com/kendo-vue-ui/dateinputs/datetimepicker/json/source.txt)

## Suggested Links

* [Supported Date and Number Formats](https://github.com/telerik/kendo-intl/tree/master/docs)
* [API Reference of the DateTimePicker](https://www.telerik.com/kendo-vue-ui/components/dateinputs/api/datetimepickerprops)
* [Keyboard Navigation](https://www.telerik.com/kendo-vue-ui/components/dateinputs/datetimepicker/keyboard-navigation)
* [Accessibility](https://www.telerik.com/kendo-vue-ui/components/dateinputs/datetimepicker/accessibility/wai-aria-support)
* [Globalization](https://www.telerik.com/kendo-vue-ui/components/dateinputs/globalization)
