Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
test [2020-11-27 11:29]
nik
test [2021-03-01 17:37] (current)
nik
Line 1: Line 1:
 heading, subtext, subterfuge heading, subtext, subterfuge
 +
 +
 +<html>
 +<SCRIPT TYPE="text/javascript">
 + window.setInterval (function() {
 +   var a = new Date('2020-03-01T03:00');
 +   var b = new Date();
 +   var c = new Date();
 +   b.setHours(3);
 +   b.setMinutes(0);
 +   b.setSeconds(0);
 +   document.getElementById('covidate').innerText =
 +    (c.toDateString().substr(0,3) + " Mar " +
 +    parseInt (1 + 0.5 + (b.getTime() - a.getTime()) / (1000*60*60*24)) + " " +
 +    " 2020 " + c.toTimeString()
 +    ).replace(/ (\d{4}) (.*) GMT.*\((.*)\)/, ' $2 $3 $1');
 +  }, 500);
 +</script>
 +</html>
  
 =====1,2 1,2===== =====1,2 1,2=====
  • test.txt
  • Last modified: 2021-03-01 17:37
  • by nik