[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: java time



> -----Original Message-----
> From: Ernie McCracken [mailto:holycrap cavtel net]
> Sent: Friday, October 29, 2004 06:21 PM
> To: fedora-list redhat com
> Subject: Re: java time
> 
> On Fri, Oct 29, 2004 at 10:06:48PM +0400, Vano Beridze wrote:
> > if I run a command date
> > it gives me the output
> > Fri Oct 29 22:03:50 GEST 2004
> > 
> > but If I compile and run a simple java program (with jdk1.4.2 or jdk1.5)
> > 
> > it gives me the output
> > Fri Oct 29 23:03:50 GEST 2004
> > 
> 
> Is it just me, or are the output of both the "date" command and the java
> program exactly the same? :-)

Close, but no cigar ;-)  The hours are different by 1 (22 hundred hours vs. 23 hundred hours).  I would check to see if the daylight savings time settings are the reason.  With a difference of only one hour, it seems like a strange but possible culprit.  Just a thought.

-Mike




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]