Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

83
Vistas
Change time stamp from unix to MM/DD/YYY in a multidimensional array

Hi I am looking for a way to transform my data to change the unix time stamp to DD/MM/YYY in given response format and return the same format back, I tried many ways to but I couldn't achieve what I wanted.

Here is the response format.

const mockResponse = 
  { identifier : 'something'
  , palette    : 'sev'
  , fus_config : 
    { dataSource: 
      { chart: { } 
      , dataset: 
        { data: 
          [ [ '1631212200000', 4.85, 27.49, 25] 
          , [ '1631212200000', 4.07, 25.39, 37] 
          , [ '1631212200000', 4.66, 24.48, 56] 
          , [ '1631212200000', 4.77, 24.05, 45] 
          ] 
  } } } } 

I am expecting this to be transformed into this.

const mockResponse = 
  { identifier : 'something'
  , palette    : 'sev'
  , fus_config : 
    { dataSource: 
      { chart: { } 
      , dataset: 
        { data: 
          [ [ '12/13/1995', 4.85, 27.49, 25] 
          , [ '12/13/1995', 4.07, 25.39, 37] 
          , [ '12/13/1995', 4.66, 24.48, 56] 
          , [ '12/13/1995', 4.77, 24.05, 45] 
          ] 
  } } } }

Thank you for your help.

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda