I have a date string that when I assign this string to a date
and later I will get the getTime
of it, if the application is running on different machines the returned unixtime comes with a few different hours being two hours the difference .
Why and how to set this so that unixtime will come with the date of the string I passed.
Code:
var data = "2018-02-12T10:20:00"
var dataString = new Date(data);
dataString.getTime();