I get the following string from a webservice, 2014-06-05T10:27:47Z
. I want to add 2hours to this.
I tried to convert it to a date and add the time, but it doesn't work. Code below:
var d = new Date("2014-06-05T10:27:47Z");
d = new Date(d + 2*60*60*1000);
What am i doing wrong?