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

126
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar
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