aspose file tools*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
Author

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

torsti koistinen
Greenhorn

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

1.


2.


3.
Jessica Sant
Sheriff

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: http://aspose.com/file-tools
 
subject: Today(Yes), Tomorrow(No), Date realated problem.
 
Similar Threads
inserting a date field
JSP and SQL problem
Variable type question?
util.Date to sql.Date
conversion of string into java.sql.Date