I am using moment.js in Nodejs to get the current date and time. The date part I am getting is correct but the time is off by 4 hours. For example time here in Michigan is 1:03 PM but moment is giving 6:00 PM
I am inserting this time in the database and to get the current time, I am doing:
moment()