79467878

Date: 2025-02-25 21:11:36
Score: 1
Natty:
Report link

It can be as bellow example too.

function formatDateFromMilliseconds(value) {
    // receives in milliseconds 853113600000
    // returns dd/mm/yyyy
    let d = new Date(value).toISOString().substring(0, 19);
    return d.substring(8, 10)+ '/' + d.substring(5, 7) + '/' + d.substring(0, 4);
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Glauco de Souza