-
i was wondering weather someone could show me how to have two labels one that displays the time and another the current date, i can do this in vb but i don't know how to do this in vb script and then implement this in dreamweaver,
all help would be great
cheers
-
you mean like this?
Code:
<%@Language=VBScript EnableSessionState=False%>
<% option explicit %>
<html>
<body>
<input value="<%= formatdatetime(now, vbLongTime) %>">
<input value="<%= formatdatetime(now, vbShortDate) %>">
</body>
</html>
I have no idea how dreamweaver works, but this is the asp....
Tom
-
Hi zmerlinz
What Clunietp wrote is correct if you just want to display the date and time at that point, but if you want a real time clock on a web page, you will need a java applet to run on the page. There are loads freely available
Ian
-
You can Also do it With Client Side Scripts..(JavaScript...)
With a Textbox to Display them....