How to change the Date format as DD-MM-YYYY in lightning data table ?
The Result is 1936-06-12
I Want the result as 12-06-1936
Please help....
code snippet
{label: 'Contact Name', fieldName: 'Name', type: 'text',sortable:true},
{label: 'Birthdate', fieldName: 'Birthdate', type: 'Date',sortable: true,typeAttributes{day:'numeric',month:'short',year:'numeric'}},
{label: 'Email', fieldName: 'Email', type: 'email',sortable:true}
Thanks in Advance.