This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
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 Head First Android this week in the Android 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.
It's not a secret anymore!