File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes Today(Yes), Tomorrow(No), Date realated problem. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Today(Yes), Tomorrow(No), Date realated problem." Watch "Today(Yes), Tomorrow(No), Date realated problem." New topic

Today(Yes), Tomorrow(No), Date realated problem.

torsti koistinen

Joined: Jul 29, 2004
Posts: 4
If only someone could help

All code(s) below gives me a current date,
but I also need to get tomorrows and yesterdays dates.

I think I can�t use simpledateformat because I need to import import java.sql.*;

So if anyone can tell me how to modify some of the codes below, It would be great. All I need is that I get forexample this yesterdays or tomorrows date with the
"codes" below:

these are the codes what I have try to use without success



Jessica Sant

Joined: Oct 17, 2001
Posts: 4313

check out this thread I think it will point you in the right directions.
I agree. Here's the link:
subject: Today(Yes), Tomorrow(No), Date realated problem.
jQuery in Action, 3rd edition