My script broke up after yesterday because both Date.UTC(2015, 08, 31) and Date.UTC(2015, 09, 01) provides same timestamp 1443657600000.
This is the only pair of days which provide same result. what am I missing?
The month parameter is zero-indexed. So 8 is actually september which only has 30 days. So it flows over to october.
Reference: Date.UTC()
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With