On Fri, 3 Oct 2008 07:36:55 -0700 (PDT), laredotornado
<> wrote, quoted or indirectly quoted someone
who said :
>I'm using Java 1.5. How do I get a java.util.Date exactly one month
>before today's date? I thought about converting todays date to
>milliseconds and then subtracting a value, but not every month has the
>same number of milliseconds.
That is trivial with BigDate. See TestDate examples. With Calendar is
is a bit uglier. See
http://mindprod.com/products1.html#COMMON11
http://mindprod.com/jgloss/calendar.html
--
Roedy Green Canadian Mind Products
http://mindprod.com/politics/harper.html
Anyone but Harper for Prime Minister of Canada