function Clock() {
  this.lastTime = getTime();  
  if (arguments.length>1)
    this.date = new Date(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6]);
  else if (arguments.length==1)
    this.date = new Date(arguments[0]);
  else
    this.date = new Date();
}
/** Clock constructor. Arguments to this
are in exactly the same form as those
to the built-in Date constructor. */
Clock constructor. Arguments to this
are in exactly the same form as those
to the built-in Date constructor.
Clock constructor . Arguments to this are in exactly the same form as those to the built - in Date constructor .
function Clock() {
  this.lastTime = getTime();  
  if (arguments.length>1)
    this.date = new Date(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6]);
  else if (arguments.length==1)
    this.date = new Date(arguments[0]);
  else
    this.date = new Date();
}
function Clock ( ) { this . lastTime = getTime ( ) ; if ( arguments . length > 1 ) this . date = new Date ( arguments [ 0 ] , arguments [ 1 ] , arguments [ 2 ] , arguments [ 3 ] , arguments [ 4 ] , arguments [ 5 ] , arguments [ 6 ] ) ; else if ( arguments . length == 1 ) this . date = new Date ( arguments [ 0 ] ) ; else this . date = new Date ( ) ; }
Clock constructor.
Clock constructor .