SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
David Balažic wrote:
I would just suggest to also print the current time in users zone and format, just to see if it really computes the correct time.
Rob Spoor wrote:Can't you just check your system tray?
Jaikiran Pai wrote:
David Balažic wrote:
I would just suggest to also print the current time in users zone and format, just to see if it really computes the correct time.
When you make a post, the time is displayed on the post (like on the first post of this thread). You can compare that with your system time if you want to verify it.
David Balažic wrote:
Rob Spoor wrote:Can't you just check your system tray?
What does my system tray say about the correctness of forum code?
Paul Clapham wrote:
Your system tray is the quick way for you to test the correctness of the forum code.
The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
fred rosenberger wrote:One reason you may care is that sometimes when we do upgrades or make changes, we'll say "we will be down from X to Y, Ranch time".
And I still fail to see what difference it makes if the time is off by 2 seconds or 5 minutes. I don't think we sync to the atomic clock in any case.
David Balažic wrote:Well.... That could say the time in local time, could it not? ;)
There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors