easy for you! - how do I add 5 seconds to date?

Giganews Newsgroups
Subject: easy for you! - how do I add 5 seconds to date?
Posted by:  FN (newsgroupaccou…@DELETECAPSyahoo.com)
Date: Fri, 11 Jul 2003

I'm new to javascript and internet research is turning up weird things.  I
just want to add 5 seconds to a date value.

this = new date()  // I believe this sets the time, too, right?

//now how do I add 5 seconds or even 5000 seconds to the variable 'this'?

Replies