Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

java Date question to get Previous days Date from current date

807607Aug 23 2006 — edited Oct 3 2006
Hi,

I am trying to get the date of previous day and set the hours/min/sec to just beginning of previous day like 12:00:00 am.

Is it possible to get the previous date from current date.. and set the time... to just starting of prevous day 12;00:00 am..

any ideas.. I am having hard time trying to figure it out..

thanks
jag.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 31 2006
Added on Aug 23 2006
13 comments
2,228 views