Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Days b/w two dates.

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hello and thanks in advance. I am trying to write a java program to calculate the number of days b/w two inputed dates in an eight digit format eg. 1015199. Really would appreciate any ideas on how to go about doing this, I think I have the basic logic down but is there any function I could use to find the exact number of days in a month in any given year in Java. Code would be greatly appreciated.
 
This seems like a homework assignment program. Is it? Just curious.. [sig]<p>Liam Morley<br><a href=mailto:lmorley@wpi.edu>lmorley@wpi.edu</a><br><a href=] :: imotic :: website :: [</a><br>"light the deep, and bring silence to the world.<br>
light the world, and bring depth to the silence."[/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top