pjs/webtools/browser-buster/t.html

48 строки
1.1 KiB
HTML
Исходник Обычный вид История

1999-09-01 01:21:26 +04:00
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is browser-buster.
-
- The Initial Developer of the Original Code is Netscape Comm.
- Inc. Portions created by Netscape are
- Copyright (C) Netscape. All
- Rights Reserved.
-
- Contributor(s):
- Chris Hofmann <chofmann@netscape.com>
-->
<html>
<head>
<TITLE>JavaScript Time</TITLE>
</HEAD>
<BODY>
<basefont size=2>
<script>
var today = new Date();
var mo = today.getMonth();
mnt = ++mo
var day = today.getDate();
var hour = today.getHours();
var min = today.getMinutes();
var sec = today.getSeconds();
document.write(mnt + "/" + day + " " + hour + ":" + min + ":" + sec ) ;
</script>
</body>