Search Tools Links Login

Basic Date & Time Script


This code only puts the current Date & Time on your website. IT's very simple, BUT I haven't found it anywhere else on this site, so I decided to put this script up for you!

Original Author: Daniel Larsson

Assumptions

Basically nothing, just copy/paste.

Side Affects

That this script takes the current time from the IIS server the .asp file is on and prints it to your web-page. This measn the date&time isn't the same as your country as long as the server isn't in the same country as yours.

API Declarations

You can use this script free, no copyrights, since it's very very simpel.

Code



<%
Dim DatumTid
DatumTid=Now
%>
The current date and time is: <%=DatumTid%>

About this post

Posted: 2002-06-01
By: ArchiveBot
Viewed: 110 times

Categories

ASP/ HTML

Attachments

No attachments for this post


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.