On 23/01/13 13:17, Wolfgang Lenerz wrote:

Defintely, yes! I now use that TimeZone object.
Thanks a lot.
No worries, you are very welcome.


IIRC, Java gets the system time from the OS, so it shouldn't matter how
the time is set by the OS (I use ntp, too ).
I have had problems in the past with my times being an hour out. The clock was set to NTP but, the hardware clock was set to BST (I think) because that's what it was set to when the PC was first set up.

Reading the time was ok, because NTP set it to UTC aka GMT but some software was reading the hardware clock and some was adjusting for BST/UTC as appropriate, and getting it all wrong.

This was Windows 2000 by the way.

Confused? I was! ;-)


Cheers,
Norm.

--
Norman Dunbar
Dunbar IT Consultants Ltd

Registered address:
Thorpe House
61 Richardshaw Lane
Pudsey
West Yorkshire
United Kingdom
LS28 7EL

Company Number: 05132767
_______________________________________________
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm

Reply via email to