I've stored date to my DB in 2019-12-20 11:45
format. But I need it to show in my data table in a 20-12-2019 1:45 PM
format. I use jQuery data table.
{
"render": function (data, type, content, meta) {
return content.starting_time;
}
},
How do I convert a date returned by this function?