| Author |
Topic Search Topic Options
|
genmud
Groupie
Joined: 05 April 2003
Location: United States
Status: Offline
Points: 78
|
Post Options
Thanks(0)
Quote Reply
Posted: 24 June 2003 at 2:47pm |
|
ok, i have this clock, from dynamic drive... it has the time on the client... i just want it to display it on the server, so i need to know how to get the Hours, Minutes and Seconds off the server in ASP. It is really simple(i think) but i know just about zero in ASPvb
|
 |
MorningZ
Senior Member
Joined: 06 May 2002
Location: United States
Status: Offline
Points: 1793
|
Post Options
Thanks(0)
Quote Reply
Posted: 24 June 2003 at 2:53pm |
|
you cannot port that Dynamic drvie script from client side (javascript) to server side (asp).. once the server serves the HTML, the connection is lost between both, hence you can have a "dynamic server clock"
|
|
Contribute to the working anarchy we fondly call the Internet
|
 |
pmormr
Senior Member
Joined: 06 January 2003
Location: United States
Status: Offline
Points: 1479
|
Post Options
Thanks(0)
Quote Reply
Posted: 24 June 2003 at 2:54pm |
hour(now()) minute(now()) second(now())
|
|
|
 |
genmud
Groupie
Joined: 05 April 2003
Location: United States
Status: Offline
Points: 78
|
Post Options
Thanks(0)
Quote Reply
Posted: 24 June 2003 at 2:59pm |
that definatly wont work, but thanks...
you can make it dynamic, because i said! no, actually you can, because the time adds the numbers off the person's initial time on their clock and just adds numbers, it is possible, and i will eventually work... i just need to know how to get like the Hour and Minutes and Seconds off the server, im not asking anything tooo hard.
Edited by genmud
|
 |
MorningZ
Senior Member
Joined: 06 May 2002
Location: United States
Status: Offline
Points: 1793
|
Post Options
Thanks(0)
Quote Reply
Posted: 24 June 2003 at 3:00pm |
|
neither will anything else.....
|
|
Contribute to the working anarchy we fondly call the Internet
|
 |
pmormr
Senior Member
Joined: 06 January 2003
Location: United States
Status: Offline
Points: 1479
|
Post Options
Thanks(0)
Quote Reply
Posted: 24 June 2003 at 3:05pm |
|
why don't you just use straight up asp and put in <%= now()%> in your script?
|
|
|
 |
MorningZ
Senior Member
Joined: 06 May 2002
Location: United States
Status: Offline
Points: 1793
|
Post Options
Thanks(0)
Quote Reply
Posted: 24 June 2003 at 3:21pm |
wow, i must be typing in "invisible font" today, lol
he's obviosuly trying to do something like this: http://www.dynamicdrive.com/dynamicindex6/lcdclock.htm
but show the running server time, not the client's time... which "isn't possible" in server side script since once the page content gets served to the client, bam, the connection between the two computers is over with
|
|
Contribute to the working anarchy we fondly call the Internet
|
 |
genmud
Groupie
Joined: 05 April 2003
Location: United States
Status: Offline
Points: 78
|
Post Options
Thanks(0)
Quote Reply
Posted: 24 June 2003 at 4:05pm |
|
you are wrong... if you can format the thing so that you can get the Hours, Minutes and Seconds i guarentee that i could get it!
|
 |