Modifiche:
codice:
dateFuture1 = new Date(2012,3,23,17,20,43);
dateNow = new Date(<?php echo $SysTime; ?>);
// TESTING: comment out the line below to print out the "dateFuture" for testing purposes
//document.write(dateFuture +"
");
/*
<?php
$SysTime = time();
$SysTime=$SysTime*1000;
?>
*/
//###################################
//nothing beyond this point
function GetCount(ddate,iid){
dateNow.setSeconds(dateNow.getSeconds()+1);
amount = ddate.getTime() - dateNow.getTime(); //calc milliseconds between dates
//delete dateNow;