• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to substract time and date

 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can I substract time and date so as to get output in int.
The example is metioned below. I need output in "int" in format mentioned below.
for example
int time=(20:30:00-02:45:00)

int date=(2001-12-7)-(2000-4-6)
 
Tony Alicea
Desperado
Sheriff
Posts: 3226
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am moving this thread to the Java Beginner Forum.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic