• Post Reply Bookmark Topic Watch Topic
  • New Topic

Date & Time in java  RSS feed

 
prathana balaji
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
can anyone help me in calcuating the difference between two date&Time
How can we add particular number of hours to a date & time


Regards,
Prathana
 
Rob Spoor
Sheriff
Posts: 21135
87
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Look at java.util.Calendar, java.util.Date, java.text.DateFormat and java.text.SimpleDateFormat.
 
prathana balaji
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a lot
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!