# DateTimePicker Placeholders

For its input field, the DateTimePicker enables you to render a text hint, specify a floating label, and provide descriptions for the format sections.

## Text Hints

When the value of the DateTimePicker is `null`, you can specify a text hint for its input field by setting the [`placeholder`](https://www.telerik.com/kendo-angular-ui-develop/components/dateinputs/api/datetimepickercomponent#placeholder) option of the component.

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

## Floating Labels

You can specify a floating label for the input field by wrapping the DateTimePicker into a [`kendo-floatinglabel`](https://www.telerik.com/kendo-angular-ui-develop/components/labels/floatinglabel) element and setting its [`text`](https://www.telerik.com/kendo-angular-ui-develop/components/labels/api/floatinglabelcomponent#text) property to a string. Also, to disable the default date mask of the DateTimePicker when no value is present, set its [`placeholder`](https://www.telerik.com/kendo-angular-ui-develop/components/dateinputs/api/datetimepickercomponent#placeholder) value to an empty string.

[Demo Source](https://demos.telerik.com/kendo-angular-ui/demos/dateinputs/datetimepicker/placeholders/floating-label/source.txt)

## Format Sections Description

The [`formatPlaceholder`](https://www.telerik.com/kendo-angular-ui-develop/components/dateinputs/api/datetimepickercomponent#formatplaceholder) option enables you to set the way the format sections of the input field are rendered. For example, whether the month input is prompted as `month` or `MM`.

The `formatPlaceholder` provides the following available options which you can set:

* `'wide'`—Displays the full description of the format section. For example, turns `MM` into `month`. Retrieved from [CLDR](https://github.com/telerik/kendo-intl/blob/develop/docs/cldr/index.md).
* `'narrow'`—Displays the narrow description of the format section. For example, turns `MM` into `mo.`. Retrieved from [CLDR](https://github.com/telerik/kendo-intl/blob/develop/docs/cldr/index.md).
* `'short'`—Displays the short description of the format section. For example, turns `MM` into `mo.`. Retrieved from [CLDR](https://github.com/telerik/kendo-intl/blob/develop/docs/cldr/index.md).
* `'formatPattern'`—Directly displays the format section. For example, turns `MM` into `MM`.
* [`CustomFormatPlaceholder`](https://www.telerik.com/kendo-angular-ui-develop/components/dateinputs/api/dateinputcustomformatplaceholder)—An object that defines the description of the format sections. For example, `{ day: 'd.', month: 'M.', year: 'y.', hour: 'h.', minute: 'm.', second: 's.' }`.

[Demo Source](https://demos.telerik.com/kendo-angular-ui/demos/dateinputs/datetimepicker/placeholders/format-selection/source.txt)

## Suggested Links

* [API Reference of the DateTimePicker](https://www.telerik.com/kendo-angular-ui-develop/components/dateinputs/api/datetimepickercomponent)
* [Angular DateTime Picker](https://www.telerik.com/kendo-angular-ui/datetimepicker)
