I would like to generate a list of dates, but found out the date is wrong start from - 25 * 24 * 60 * 60 * 1000
My local date is 2016-07-17. I got
2016-
Integer overflow.
Multiplying 25 * 24 * 60 * 60 * 1000 results in 2160000000 which is more than what fits in an integer.
25 * 24 * 60 * 60 * 1000
2160000000