Answers for "how to get date in dataTable using javaScript"

2

jquery datatable returning current datetime

{
    title: "Date",// name 
    render: function (data, type, row) {//data
        return moment(row.updatedDate).format('DD/MM/YYYY hh:mm:ss');
    }
}
Posted by: Guest on February-11-2020
0

datatable date

opts = {
                        order: [[3, "desc"]],
                        columns: [
                            null,
                            null,
                            null,
                            { "type": "date" },
                            { "type": "date" },
                            { "type": "date" },
                            null,
                        ]
                        }
Posted by: Guest on April-06-2021

Code answers related to "how to get date in dataTable using javaScript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language