Ios Vs Android: Different Dates Displayed For The Same Program
I have a javascript code: newDate: function(days) { var newDate = new Date( parseInt(startDate) + 1*1000*3600); var date = newDate .getDate(); return date ; }, Seems
Solution 1:
The Date
constructor is only consistent cross-browser for the following Date formats:
"2010""2010-06""2010-06-09""2010-06-09T15:20:00Z""2010-06-09T15:20:00-07:00""2010/06/09""2009/6/9""2010/6/9 12:34""2010/6/9 12:34:56""June 9, 2010""2010 June 9"
References
Post a Comment for "Ios Vs Android: Different Dates Displayed For The Same Program"