aspose file tools*
The moose likes Java in General and the fly likes calculate the year from no of days Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "calculate the year from no of days" Watch "calculate the year from no of days" New topic
Author

calculate the year from no of days

Jameela Rehman
Greenhorn

Joined: Feb 07, 2006
Posts: 2
Hi everybody!

I want to calculate the Year on the behalf of no of days. How is it possible in java. please provide me complete example.

your friend.
Garrett Rowe
Ranch Hand

Joined: Jan 17, 2006
Posts: 1296
Originally posted by Jameela Rehman:
Hi everybody!

I want to calculate the Year on the behalf of no of days. How is it possible in java. please provide me complete example.

your friend.


Number of days since when? What is the starting point?


Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them. - Laurence J. Peter
Jameela Rehman
Greenhorn

Joined: Feb 07, 2006
Posts: 2
Originally posted by Jameela Rehman:
Hi everybody!

I want to calculate the Year on the behalf of no of days. How is it possible in java. please provide me complete example.

for example

days = '07/02/2006'- '31/12/1982';

your friend.
pascal betz
Ranch Hand

Joined: Jun 19, 2001
Posts: 547
have a look at the java.util.Calendat, java.util.Date classes....
and:
please provide me complete example.


probably wont work here... you might get hints and explanations.... but no complete examples and solutions....


p
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: calculate the year from no of days
 
Similar Threads
Calculating historical dates
how to covert string to date object?.
How can i calculate the number of days in year ?
How to obtain week of year for any given date
Number of days between the 2 given dates.