קוד:
<html>
<head>
<title>The Year 2000</title>
</head>
<h1>how many seconds did pass since year 200</h1>
<h4>
<script type="text/javascript">
now=new date("Jul 01 2006 20:16:10");
y2k=new date('Jan 01 200 00:00:00");
seconds= (now-y2k)/1000;
document.write ("Seconds passed since the year 200:"+seconds);
</script>
<body>
</body>
</html>
תנסה ככה