Re: java time

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

 



> -----Original Message-----
> From: Ernie McCracken [mailto:holycrap@xxxxxxxxxx]
> Sent: Friday, October 29, 2004 06:21 PM
> To: fedora-list@xxxxxxxxxx
> 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




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux