home *** CD-ROM | disk | FTP | other *** search
- <HTML>
- <BODY>
- <% theTime = Time %>
- <% theDate = Date %>
- <FONT FACE=VERDANA SIZE=3>
- <H1>Server's Local Time</H1>
- <BR><BR>
- The time at the server's location is <% = theTime %>
- <BR>
- and the date is <% = theDate %>.
- <P>
- <HR>
- <H1>Client's Local Time</H1>
- <SCRIPT LANGUAGE = VBScript>
- Document.write "The local time is " & Time
- Document.write "<BR>"
- Document.write "and the date time is " & Date
- Document.write "<HR>"
- Document.write "The time difference is " & DateDiff("s", "<% = theTime %>", Time) & " second(s)"
- Document.close
- </SCRIPT>
- </BODY>
- </HTML>
-