Am 16.11.2010 16:30, schrieb Blagoja Chavkoski:

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


... and hope you're not residing at a place where daylight saving
times do exist.

@anthony: There was a similar discussion where I answered already.
I don't remember the exact date but using the search option of the
mail-archive should bring it up.


Regards, Lothar

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