Results 1 to 3 of 3
  1. #1
    Shahnawaz is offline Member
    Join Date
    Sep 2011
    Posts
    20
    Rep Power
    0

    Default difference between two dates..

    Hi;
    i want to write a program which can calculate the difference between two dates; plus the dates should be entered by user at the runtime.. but i don't know where to start.. can anyone help please..

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    17,816
    Rep Power
    25

    Default Re: difference between two dates..

    Look at the Calendar class.

  3. #3
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

Similar Threads

  1. Strings as Dates and difference
    By kryptonian03 in forum New To Java
    Replies: 7
    Last Post: 03-21-2011, 02:35 AM
  2. Dates sometimes off by a day?
    By saggio in forum Advanced Java
    Replies: 13
    Last Post: 12-08-2010, 05:56 PM
  3. UTC Dates
    By PedroCosta in forum Advanced Java
    Replies: 3
    Last Post: 04-01-2010, 07:08 PM
  4. Difference of Two Dates
    By jboy in forum New To Java
    Replies: 3
    Last Post: 09-15-2009, 07:41 PM
  5. Replies: 23
    Last Post: 02-19-2009, 06:24 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •