Passing a Var in URL

Hello all,

I had a quick question regarding Passing a Variable VIA the URL. I know you can do something like “www.someurl.com?somevar=true” or somethign like that. But i need to somehow pass a date via the URL Var


var oldDate = new Date(2005,10,25); 
var newDate = new Date();
var elapsed = newDate - oldDate;

How on earth do i pass a date with multiple entried (2005,10,25) via a URL variable? I NEED to send the var oldDate = new Date(); in the URL. i know i cant go “?oldDate = new Date(2003,9,21)”

So how do i pass a variable like that???

Cheers all!
–][–