Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

77
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!