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

389
Vistas
when I use export html data export in excel file then date not prefect which are below of 12 date

Example in date below in dd/mm/yyyy 02/03/2021 so which are date below 12 to automatically showing wrong as 03/02/2021

function ExportToExcel(type, fn, dl) {
            var elt = document.getElementById('tablexl1');
            var wb = XLSX.utils.table_to_book(elt, { sheet: "sheet1" });
            return dl ?
                XLSX.write(wb, { bookType: type, bookSST: true, type: 'base64' }) :
                XLSX.writeFile(wb, fn || ('CollectionReport.' + (type || 'xlsx')));
        }
about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

Try to use the raw option as true:

function ExportToExcel(type, fn, dl) {
            var elt = document.getElementById('tablexl1');
            var wb = XLSX.utils.table_to_book(elt, {raw:true, sheet: "sheet1" });
            return dl ?
                XLSX.write(wb, { bookType: type, bookSST: true, type: 'base64' }) :
                XLSX.writeFile(wb, fn || ('CollectionReport.' + (type || 'xlsx')));
        }
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