posted 16 years ago
Hi,
I did look into documentation before I posted here.
But I don't understand why if I pass 0l (0 long) paramenter, the date is set as a Thu Jan 01 01:00:00 GMT 1970 shouldn't be set as a 00:00:00 ?
As you mentioned, the parameter means: Sets this Date object to represent a point in time that is time milliseconds after January 1, 1970 00:00:00 GMT.
So I'm still confiused, If I pass 0 milliseconds (and from January 1, 1970 00:00:00 GMT past 0 miliseconds) the time should be the same, so why it is 1 hour later?
Please tell me where I am wrong?
SCJP 5.0, SCJA 1.0,
Next target SCWCD 5.0