You can try

Date today = new Date(System.currentTimeMillis());

Be warned, this will be the client's machine, so the date can be
anything. If it's for anything serious, you may want to get the date
from the Server.

On Jan 18, 9:03 am, nacho <[email protected]> wrote:
> Hi i want to do this and get today date in a client class:
>
> Date today = new Date();
>
> but i dont't get today date, i get something wrong.
-- 
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