The code has an array that receives the DB information. The date field receives the date in YYYY-MM-DD format, but I would like to display it in the following DD-MM-YYYY command.
Could you help me with some function or a hint in how to handle this problem?
for(var i=0;dados.length>i;i++){
$('#table').append(
"<td align = 'left' style='width:40px;max-width:40px;'<b>"+dados[i].Conta+"</b> </td>"+
"<td align = 'left' style='width:50px;max-width:50px;'><b>"+dados[i].codigoAcesso+"</b> </td>"+
"<td align = 'left' style='width:50px;max-width:50px;'><b>"+dados[i].nome+"</b> </td>"+
"<td align = 'left' style='width:50px;max-width:50px;'><b>"+dados[i].data+"</b> </td>"+
"</table>"
);
};