Format date function changes the time

I suggest you to check the following article explaining how to set up date and time in node: