var a= new Date(); document.write(a.toString()); document.write( Date.parse(a));