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.