JavaScript UNIXTIME

var date = new Date();
console.log(date.getTime()); //1323516707278

console.log((new Date()).getTime()); //1323516707280

console.log(+new Date()); //1323516707281