I'm using Datatables and one of my column is a timestamp, how can I convert it to have a date into date format (YYYYmmJJ or JJmmYYYYY)?
I tried to add those lines :
columnDefs: [ {
targets: 2,
render: $.fn.dataTable.render.moment( 'YYYY/MM/DD', 'Do MMM YY', 'fr' )
} ]
but got this error:
Uncaught TypeError: $.fn.dataTable.render.moment is not a function
Maybe my timestamp is in the wrong format (ms).