Why is Javascript returning the wrong UTC month value?
Well ... for starters ... let me say that I've done this a thousand times. I am just trying to print utc in JavaScript.
But ... the value I got is wrong.
Instead of (9) September, JavaScript returns (8) for August. From today - September 2, 2012.
UTC time will look something like this: 2014-09-02 07:00:02
.
Instead, I get 2014-08-02 07:00:02
.
I turned on the violin. Please take a look at her.
+3
user3962692
source
to share