Forum Moderators: open
I have this var myVar=new Date(2003,2,12,17,18,12);
alert(myVar) returns "Wed Mar 12 17:18:12 PST 2003"
Is it possble to get the literal string "new Date(2003,2,12,17,18,12)" instead of the formed date?
All the best.
Just put your literal in quotes.