|
-
Jan 9th, 2001, 02:51 PM
#1
Thread Starter
Fanatic Member
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
Some people have told me they don't think a fat penguin really embodies the grace of Linux, which just tells me they have never seen a angry penguin charging at them in excess of 100mph. They'd be a lot more careful about what they say if they had.
-- Linus Torvalds
[ Galahtech.com] | [ My Site] | [ Fishsponge] | [ UnixForum.co.uk]
-
Jan 10th, 2001, 12:50 AM
#2
Guru
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
-
Jan 10th, 2001, 03:50 AM
#3
Fanatic Member
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
Yeah, well I'm gonna build my own lunar space lander! With blackjack aaaaannd Hookers! Actually, forget the space lander, and the blackjack. Ahhhh forget the whole thing!
-
Jan 10th, 2001, 11:44 PM
#4
Addicted Member
You can Also do it With Client Side Scripts..(JavaScript...)
With a Textbox to Display them....
If you can't pronounce my name, call me GURU 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|