I have a simple question about the Date object (or
similar object)
I have a mySQL table with a DATETIME cell. I
want to get the date from this cell
(formatted like so: e.g. 2001-03-23
13:04:59)
and retrieve the date that is exactly 7 days
earlier than the retrieved date.
What is the easiest way to do this? I noticed a lot
of method deprecations in the specs and I am having trouble using the Date
object.
-----
For example,
DateTest.java:20: cannot resolve
symbol
symbol : constructor Date () location: class java.sql.Date Date d = new Date(); ^ 1 error -----
thanx
-ryan
|
- Re: Dates in Java Ryan
- Re: Dates in Java Scott Walter
- Re: Dates in Java Joe Laffey
- RE: Dates in Java Michael Wentzel
- RE: Dates in Java Alistair Hopkins
- Re: Dates in Java Stéphane BAUDET
- Re: Dates in Java Martin Mauri
- Re: Dates in Java Milt Epstein
- Re: Dates in Java Jeff Kilbride
- Re: Dates in Java Alvin Yap
- Re: Dates in Java Milt Epstein