Hi
Not sure what you are trying to achieve, but note that the Date object represents a number of milliseconds.
So if you want to add 2 days to a date, you need to add : 2 * 24 * 3600 * 1000 to the date.
Hi
Not sure what you are trying to achieve, but note that the Date object represents a number of milliseconds.
So if you want to add 2 days to a date, you need to add : 2 * 24 * 3600 * 1000 to the date.