Hi Sitaro,

if you happen to be declaring the start and stop Dates locally in your
onClick methods, it probably won't work.

Have you tried:

// in your "parent" class somewhere
Date start,stop;

then in your onClick's... (note removal of type declarations)

> //In the start event
> start = new Date();
>
> ...
> //In the stop event
> stop = new Date();
>

[A null Date returns zero which corresponds to about 1/1/1970 - an
awful lot of milliseconds ago.]

regards
gregor

> Both ways I got crazy results... Please, can anybody help me? Thank
> you very much.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to