Search results

Customize Day Header in ASP.NET Core DateTimePicker control

14 Apr 2021 / 1 minute to read

You can change the format of the day that to be displayed in header using dayHeaderFormat property.

By default, the format is Short.

You can find the possible formats on below.

Name Description
Short Sets the short format of day name (like Su ) in day header.
Narrow Sets the single character of day name (like S ) in day header.
Abbreviated Sets the min format of day name (like Sun ) in day header.
Wide Sets the long format of day name (like Sunday ) in day header.
Copied to clipboard
<ejs-datetimepicker id="datetimepicker" dayHeaderFormat="Short"></ejs-datetimepicker>

Output be like the below.

datetimepicker datetimepicker