Re: java time

From: Mike Markiw III (mmarkiw_at_speakeasy.net)
Date: 10/29/04

  • Next message: Christopher K. Johnson: "Re: java time"
    To: "For users of Fedora Core releases" <fedora-list@redhat.com>
    Date: Fri, 29 Oct 2004 18:28:24 +0000
    
    

    > -----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

    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Christopher K. Johnson: "Re: java time"