Formats

You can control the format of the DateTimePicker by using the format property.

The format property accepts string parameters and, by default, is set to 'g'. When format is set and the input element is not focused, the value is formatted accordingly.

For more information on the date and number formats Kendo UI for Angular supports, refer to the kendo-intl GitHub repository.

@Component({
    selector: 'my-app',
    template: `
        <div class="example-wrapper">
            <p>Select a long date:</p>
            <kendo-datetimepicker
                [format]="'dd-MMM-yyyy HH:mm:ss'"
            >
            </kendo-datetimepicker>
        </div>
    `
})
class AppComponent { }

In this article