Calculating with Date - TechRepublic
General discussion
November 26, 2002 at 11:44 PM
mario.widmer

Calculating with Date

by mario.widmer . Updated 23 years, 7 months ago

I am searching a possibility in Java to the following:

Give me the date of today minus 3 days
Give me the date of today plus 4 days

Is there a way to do it without manually calculate
-which month is it (has it 30/31/28 days)
-is it a leap year
etc etc

thanks in advance

This discussion is locked

All Comments