Re: Java calendar class returns differnt value than server date function
Posted By:
joe_user
Posted On:
Monday, May 24, 2004 09:48 PM
This is probably a dumb question, but here goes: are you certain the date call on unix is executed on the same machine your java program is running on? I notice that the first one reports approx. 9.30AM, the second 12.30PM, or 02:28GMT vs. 12.28GMT. Assuming you ran the two tests at the same time, something is not right.