Forum Moderators: open

Message Too Old, No Replies

Need some help with ASP

         

SiliconAlleyFx

8:09 am on Feb 12, 2002 (gmt 0)



I am using the following statement to get the time and date to be displayed on my page:
<%
Response.Write Now
%>

However, this only diplays the time that the page was loaded. Is there a way where I get the time and date of the server as a regular working clock.

Thanks in advance.

SiliconAlleyFx

Xoc

9:21 am on Feb 12, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Put a <meta> refresh on the page to reload the page every 60 seconds.

rpking

9:31 am on Feb 12, 2002 (gmt 0)

10+ Year Member



This is normally done client-side with javascript/java. You could use asp to write the server time as a seed for a client-side javascript script.

Then the javascript would tick over, but showing server time rather than the usual which is the time on the client's machine.

SiliconAlleyFx

3:51 pm on Feb 12, 2002 (gmt 0)



he thanks rpking, do you have any suggestions on which javascript to use?