Самая быстрая и простая версия была бы ...
//get string version of time to the nearest millisecond
var now = "" + new Date().getTime();
//Though in most cases its easier to keep it as a number, and just concatinate in your output somewhere
document.title = "Now it is: " + new Date().getTime();