> It is not clear to me who is reading this message. But I hope you can
> help me with my question or give me a reference where I can find help.
>

*Obligatory bad dog message*
This isn't really a list for discussing general java programming.

>
> problem is that when I use the data command om the commandline
> (/bin/date) the date I see is corrent, but when I use in Java 'Data d =
> new Date()'. The reported time is one hour late. In Linux the CET is
> reported (I live in the Netherlands) as wanted but Java reports the UTC.
> How can I make my Java software report the localtime without making my
> code timezone depended (addind one hour is not a wanted solution) ?

Look at java.util.TimeZone.

../Martin

Reply via email to