File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
REST with Spring (video course)
this week in the
Joined: Aug 03, 2007
Oct 17, 2007 13:39:00
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.
Joined: Nov 03, 2006
Oct 17, 2007 23:30:00
I'm approaching one gigasecond... and feeling younger and younger!
Joined: Jan 19, 2001
Oct 18, 2007 03:02:00
Ah yes, 11,234...
were the days.
It is sorta covered in the
JavaRanch Style Guide
subject: DaysOld question
DaysOld and classpath
OOP-1 (DaysOld): setting classpath
DaysOld, which methods in the class JDate to use?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015