Article View: aus.computers.java
Article #1137read local date?
From: jam
Date: Fri, 21 May 1999 00:00
Date: Fri, 21 May 1999 00:00
11 lines
744 bytes
744 bytes
Hi all. Can anyone pls tell me how to read local date/time into variables? I used the Calendar class, and can get hour/month/day of month etc into serparate variables, however, when I get the hour of day, the hour is wrong, like now, it is 10pm, but it said it is 8am.. Anyone? Thanks James.
Technical Details
Message-ID:
<37455155.A27F043E@ihug.com.au>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d6db,4bc291cb57391718,start X-Google-Attributes: gid10d6db,public From: jam <jho@ihug.com.au> Subject: read local date? Date: 1999/05/21 Message-ID: <37455155.A27F043E@ihug.com.au> X-Deja-AN: 480504744 Content-Transfer-Encoding: 7bit Organization: The Internet Group Ltd Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 Newsgroups: aus.computers.java