File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Cattle Drive and the fly likes DaysOld question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » This Site » Cattle Drive
Bookmark "DaysOld question" Watch "DaysOld question" New topic

DaysOld question

Rory Lynch
Ranch Hand

Joined: Aug 03, 2007
Posts: 95
I have been looking at OOP1 DaysOld which calculates how many days old you are.

I think my program may contain a bug as it says I am 12,749 days old,
when I dont feel a day over 11,234

I wish that for just one time, you could stand inside my shoes.<br />You'd know what a drag it is to see you.
Katrina Owen

Joined: Nov 03, 2006
Posts: 1367

I'm approaching one gigasecond... and feeling younger and younger!
Pauline McNamara

Joined: Jan 19, 2001
Posts: 4012
Ah yes, 11,234... those were the days.
It is sorta covered in the JavaRanch Style Guide.
subject: DaysOld question
It's not a secret anymore!