I want today's date set in Calendar Obj. I have used Calendar class methods to set zero values in Hour, Minutes and Second. But for Hour it sets "1" always. Code is shown below :
If I use deprecated methods of Date class (date.setHours(0)), it works fine. But with Calendar class its not working.
Please suggest possible remedies.