๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #7799

Re: Problem with time zones ...

#7799
From: John McGrath TeamB
Date: Tue, 15 May 2001 08:32
28 lines
2096 bytes
On 14 May 2001 08:16:07 -0700, Edwin G๏ฟฝnthner wrote:

> >If you run it and the Java program at the same time, the
> >Java program should print a value 1000 times the value
> >printed by the C program, since Java time values are in
> >milliseconds and C time values are in seconds.
> 
> Thats exactly what happens; on my machine and on the machine of
> my custormer.

If that is the case, then I would presume that if you run the C program 
at the exact same time on the two different machines, they will print 
out values that vary by 3600.  That would indicate that the time is 
actually set differently on the two machines, but there is something 
else different that compensates for it.

I put up a new version of that program which will print out the time 
zone and daylight time information from the C runtimes.  Try it and see 
what it says.

-- 
Regards,

John McGrath [TeamB]

---------------------------------------------------
Before sending me e-mail, please read:
    http://www.JPMcGrath.net/newsgroups/e-mail.html
Technical Details
Message-ID: <MPG.156aa7bdce6d7fe998a1da@forums.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.sj.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!netnews.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews
References: <3af7da0f$1_2@dnews> <MPG.1562bdeacce5495b98a1b2@forums.borland.com> <3afa34d2$1_1@dnews> <MPG.156424c7a806f3d698a1c5@forums.borland.com> <3afbf3c7$1_2@dnews> <MPG.1566cf03d4ac0c0f98a1cc@forums.borland.com> <3afff6b7$1_1@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: f74b3,a59c8cd977ce05a
X-Google-Attributes: gidf74b3,public
X-Google-ArrivalTime: 2001-05-15 01:39:27 PST
From: John McGrath  [TeamB] <ng-b@JPMcGrath.net>
Newsgroups: borland.public.jbuilder.java.language
Subject: Re: Problem with time zones ...
Date: Tue, 15 May 2001 04:32:17 -0400
Message-ID: <MPG.156aa7bdce6d7fe998a1da@forums.borland.com>
References: <3af7da0f$1_2@dnews> <MPG.1562bdeacce5495b98a1b2@forums.borland.com> <3afa34d2$1_1@dnews> <MPG.156424c7a806f3d698a1c5@forums.borland.com> <3afbf3c7$1_2@dnews> <MPG.1566cf03d4ac0c0f98a1cc@forums.borland.com> <3afff6b7$1_1@dnews>
X-Newsreader: MicroPlanet Gravity v2.30
NNTP-Posting-Host: 209.92.40.60
X-Trace: dnews 989915537 209.92.40.60 (15 May 2001 01:32:17 -0700)
Lines: 28
X-Authenticated-User: jpmcgrath
Path: arc1-ca.pugleaf.net!archiver1.sj.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!netnews.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews