Is there any date format pattern to display name of the day?

The question is both for DataGrid and also datetimepickeredit in DataGrid.

Are there format patterns to render the day of week, either full or in three characters, like ddd or dddd for example: "mm.dd.yyyy, ddd" -> 05.06.2020, Tue?
Is there the available pattern chars documented, or is it just the (very poor) javascript standard?

1 Reply

BS Balaji Sekar Syncfusion Team May 27, 2020 10:48 AM UTC

Hi Gabor, 
 
Greetings from the Syncfusion support. 
 
We have shared a built support for date formatting documentation as given below. Please refer that link to know about the custom date format. 
 
                                        https://ej2.syncfusion.com/aspnetcore/documentation/common/internationalization/#custom-formats 

And we suggest to use load event to format the required column with date format. Please refer to the below sample for your reference. 
 
Code Example: 
 
[.cshtml] 
... 
function load(args) { 
        this.columns[1].format = { type: 'datetime', format: 'dd/MM/yyyy' };   //you can set the format based on column index 
    } 
... 
 
Please get back to us, if you need further assistance. 
 
Regards, 
Balaji Sekar 


Loader.
Up arrow icon