3 ms·
Javascript is the same. On 2012-11-18; >> (new Date()).getMonth(); 10 but getFullYear() and getDate() give 2012 and 18 as expected.
by mappu 14y ago
Javascript is the same. On 2012-11-18;
>> (new Date()).getMonth();
10
but getFullYear() and getDate() give 2012 and 18 as expected.