🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #988

Re: System Time-Millis

#988
From: Vander
Date: Wed, 11 Aug 2004 17:34
33 lines
2071 bytes
I must disagree, the docs are not precise!

A difference is between two points, here in the continuum of time. :)
"midnight, January 1, 1970 UTC" is one of these points, where is the other?

All that is said is "current time". But what is current time? It could 
be UTC again or some local time, adding an offset to the UTC value. The 
Date class doesn't bring more light on that topic either.

- Vander


Tad Frysinger wrote:

> Vander wrote:
>
>> May sound stupid, but there is an uncertainty about the funktion
>>
>> System.currentTimeMillis()
>>
>> It is not said in the documentation whether the resulting value 
>> reflects the current UTC time or the current local time. Any further 
>> help there?
>>
>> - Vander
>>
> My docs say that it is "the difference, measured in milliseconds, 
> between the current time and midnight, January 1, 1970 UTC".
>
> Further, it says to review the Date class doc for more info. That doc 
> also implies it is UTC, but in a "modified" way.
>
> Tad Frysinger (TeamB)
Technical Details
Message-ID: <411a5865@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!proxad.net!62.253.162.219.MISMATCH!news-out.ntli.net!newsrout1.ntli.net!news-in.ntli.net!ntli.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <4119c99d$1@newsgroups.borland.com> <411a12da$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 111d45,1d96eb1aab1a68b5
X-Google-Attributes: gid111d45,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Wed, 11 Aug 2004 19:34:48 +0200
From: Vander <874505@gmx.de>
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.5) Gecko/20031007
X-Accept-Language: de,en
MIME-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing
Subject: Re: System Time-Millis
References: <4119c99d$1@newsgroups.borland.com> <411a12da$1@newsgroups.borland.com>
In-Reply-To: <411a12da$1@newsgroups.borland.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 217.232.157.103
Message-ID: <411a5865@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1092245605 217.232.157.103 (11 Aug 2004 10:33:25 -0700)
Lines: 34
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!proxad.net!62.253.162.219.MISMATCH!news-out.ntli.net!newsrout1.ntli.net!news-in.ntli.net!ntli.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail