...

View Full Version : easy timestamps



rnd me
06-30-2011, 02:57 AM
+new Date

just to be clear here:

var dt = +new Date;
var ds = String( dt );

alert(ds); //shows "1309566157496"

alert( typeof +new Date ); //shows "number"



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum