I have created rest server using Node.JS and ExpressJS. Database is MySQL.
I'm passing date as follows from the frontend.

> 
> 2016-7-26
> 
> 
> 

And when I go to the database,it's saved like this. As the following :

> 
> 2016-07-26 00:00:00
> 
> 
> 

Because mysql date format is timestamp. And when I take the result from REST ruls, I get a date like this.

> 
> "2016-07-25T18:30:00.000Z"
> 
> 
> 

I saved 26. But here I get 25. What's the reason for this ? Timezones ? Please tell me how to fix this issue.