How to calculate the date difference between two dates of leap year in javascript?
开发者_高级运维How can you calculate the date difference in a leapyear? Between 28-02-2011 to 02-03-2011 for example.
var milliseconds = new Date('2011-03-02') - new Date('2011-02-28')
精彩评论