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

185
Vistas
how to get exact date from mysql database in node react?

I am storing date in Mysql, it is getting saved in the table as '2022-05-26 00:00:00'

but now when I am fetching the date using get method of Axios in react application, I am getting : "2022-05-25T18:30:00.000Z" which has date 25 and not 26 that I saved.

why I am getting previous date when i fetch the date,?

I have done same with mongo database, Everything works fine there, but in Mysql date is creating problem.

give some suggestion please.

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