Possible Duplicate:
Get yesterday's date using Date
What is an elegant way set to a Java Date object’s value to yesterday?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Do you mean to go back 24 hours in time.
or to go back one day at the time same time (this can be 23 or 25 hours depending on daylight savings)
These are not exactly the same due to daylight saving.