Suppose a user of your website enters a date range.
2009-1-1 to 2009-1-3
You need to send this date to a server for some processing, but th
Using moment.js UTC method;
const moment = require('moment'); const utc = moment.utc(new Date(string));