mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-06 21:05:37 +00:00
48 lines
1.1 KiB
HTML
48 lines
1.1 KiB
HTML
<!--
|
|
- 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>
|
|
|
|
|