Hi,

Just use "now"= new Date(), and then from this date do what ever u like to
do

one day after... new Date ( new Date().getTime() + 24 * 60 * 60 * 1000)
one day before... new Date ( new Date().getTime() - 24 * 60 * 60 * 1000)

one week after ...new Date ( new Date().getTime() + 7 * 24 * 60 * 60 * 1000)
one week before...new Date ( new Date().getTime() - 7 * 24 * 60 * 60 * 1000)

etc...

Regards,
B

On Tue, Nov 16, 2010 at 4:15 PM, [email protected] <
[email protected]> wrote:

> Hello,
> I'm just starting with GWT and Dates (so sad I can't use Calendar),
> and I have no idea how to get the date of the next tuesday (or any day
> of the week) without using Calendar. I've been trying that to do that
> for a few hours now so any help would be appreciated.
>
> Regards
>
> --
> 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]<google-web-toolkit%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

-- 
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