Login   Register  
PHP Classes
elePHPant
Icontem

File: common.js

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Andrea Giammarchi  >  SourceMap  >  common.js  >  Download  
File: common.js
Role: Auxiliary data
Content type: text/plain
Description: JavaScript External Utilities
Class: SourceMap
Tokenize source code in several languages
Author: By
Last change:
Date: 2006-08-01 12:29
Size: 149 bytes
 

Contents

Class file image Download
function getTime(startTime) {
	var	newtime = (new Date()).getTime();
	if(startTime)
		newtime = (newtime - startTime) / 1000;
	return newtime;
}