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

125
Views
JAVASCRIPT reading value from excel sheet displas a diffrent value

currently, I am working on a function that is needed to import all the excel data into json objects on a website, therefore I have used the XLSX.utils.sheet_to_json utility on JS which brings me all the data to JSON on the web page. but few data are invalid which are not the same as on the excel sheet specifically date formats.

on the read method what I was following is below

  var workbook = XLSX.read(data, {
        type: "binary", 
  });

do I need to add anything else to get the date data correctly?

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

there are a few options you have to mention in order to get the data correctly on date format

let readData = XLSX.read(data, {
  type: "binary",
  cellDates: true,
  dateNF: "mm/dd/yyyy;@",
});


about 4 years ago · Juan Pablo Isaza Report
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!