If i set hours, minutes and seconds to 0 in a Date, the day increments one day.. ¿why?
===

First of all, i know i can use Calendar, but i want to understand this problem and learn to solve it.

I have a Date with the current date. And i want to set hours, minutes and seconds to 0. I do it with this code:

			current_date.setHours(0);
			current_date.setMinutes(0);
			current_date.setSeconds(0);

Someting is going wrong because if i do that, the day get's -1, for example, if today is 31, the day get's set to 30.

¿why? How can it be solved with Date (without using calendar, i want to learn how to solve this problem by the hard way)

Thanks