ZPiTime







About

ZPiTime is an updated version of Zapato Productions Intradimensional's various Clocks.

Usage

To log out Local Metric Time:

console.log( new ZPiTime().lmTime() );

Create a variable name t then find the time in binary, or octal:

var t = new ZPiTime();
console.log( t.binaryTime() );
console.log( t.octalTime() );

A display of LMT and UMT:


<!DOCTYPE html>
<html><head><title>Decimal Time</title>
<link rel="stylesheet" href="styles.css">
</head><body>
</body></html>
<script src="zpitime-current.js"></script>
<script>
	/*
	 *	Example display of LMT and UMT
	 */
	(function() {
		var	td = document.createElement('div'),
			lmt = document.createElement('div'),
			umt = document.createElement('div'),
			main = function () {
				zpi = new ZPiTime();
				lmt.innerHTML = '<h2>' + ( zpi.lmTime() ) + '</h2>';
				umt.innerHTML = '<h2>' + ( zpi.umTime() ) + '</h2>';
				setTimeout( main, 864 );
			};
		document.body.appendChild(td);
		td.appendChild(lmt);
		td.appendChild(umt);
		td.className = 'clocks_area';
		lmt.className = 'clock';
		umt.className = 'clock';
		/*
		 * Initiate time */
		main();
	})( window.document );
</script>