website clocks
- Started
- Last post
- 10 Responses
- spaniard
I need 3 different clocks (digi display with seconds) on my website showing the time in 3 countries. How difficult is that?...
- DigitalMe0
it's not difficult at all. do you know what scripting environment you're going to use?
if you do, google it.
if that don't work, come back here and I'll tell you what to search for at google.
:)
seriously, your just going to capture the time o day from the server and add or subtract the appropriate number of hours for the other time zones.
- spaniard0
thanks digi - didn't think it would be too difficult. As for the scripting environment, not too sure what you mean, but basically if I'm taking the time from the server I would be running at least 2 scripts to deduct/add time to come up with 3+ different read-outs right? also how would the display appear/how easy would it be to edit it (change the apperance)...
- tomkat0
if you do it in flash it's really easy..
look into the flash reference - you'll get it..
- ********0
scripting environment..
i think he means Flash.
it's amazing how people think
the web == flash
these days.
and I wonder if that is a good thing.
- tomkat0
did someone say eula..?
- DigitalMe0
actually, and correct me if my thinking goes off the trail here, I was thinking flash can only capture the client side clock and would still need to tap into a server side process to capture a known time zone. So he would still need to know what scripting engine/environment was available on the server.
- DigitalMe0
3 options spaniard:
1. use flash and generate nice beautiful vector clocks
2. use a server side scripting engine to write the baseline time string to the page (then manipulate from there).
3. use a server side scripting engine to capture the baseline time and use a series of graphics (jpg/gif) to build the visuals with.
- tomkat0
http://aachen.heimat.de/leute/tk…
i did this only with flash..
you don't need serverside scripts..there's a function, something like getGMTTime() or so.. just look into the reference..
- DigitalMe0
oooooooo
thanks tomkat! I was oblivious.I'm feeling st00pid now.
I'll drink coffee. Coffee makes people smarter...right?
- tomkat0
;.)
no problem..