I have SharePoint List in a modern experience SharePoint online site and I want to use JSON column formating to display the date in dd/mm/yyyy format without time in SharePoint List.
![json code to display date in dd-mm-yyyy format without time in sharepoint](https://debug.to/?qa=blob&qa_blobid=69078931269263058)
I've tried using toLocaleDateString() and toDateString() to show date as dd/mm/yyyy but still do nothing
{
"$schema": "https://developer.microsoft.com/json-schemas/sp/v2/column-formatting.schema.json",
"elmType": "div",
"txtContent": "=Date(@currentField,toDateString())"
}
Is it possible to format the date column in dd-MM-yyyy using JSON column formatting?