Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

calculate dates

 
bs vest
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to have two dates on a midletprogram.
The day of Today and a day 35 days back.
Which way is the EASIAST way to subtract 35 days from today.
 
Rob Spoor
Sheriff
Pie
Posts: 20495
54
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
java.util.Calendar

Check its API.
 
Katrina Owen
Sheriff
Posts: 1367
18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi bsv,

Please check your private messages for a message from the staff.

Thanks,
Katrina
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic