Debt Consolidation - Turquoise Rings - Kamala Harris - to-reuse.com - Submit articles

PDA

View Full Version : Javascript or PHP World Clocks Coding?


misohoni
Sep 14th 2004, 1:25 am
A client of mine wants some analogue/digital clocks on his site showing times for:
Hong Kong
Utah
Salt Lake
NY
California

I personally stay away from these types of gimics, but can anyone recommend a multiple/configurable bit of coding?

Thanks

Lever
Sep 14th 2004, 2:11 am
Off the top of my head I'd recommend a quick look at www.clocklink.com - has their name all over it if that's not an issue to you or your client. Whether or not its configurable I can't remember... like i say off top of my head ;)

HolyMan
Sep 14th 2004, 7:52 am
You could also look at the date function in php........... I'm sure it would take some time to generate an image this way, but if all you wanted was a
10th December 2002 / 21h45
displayed on the screen, php might be far quicker and cut down on your bandwidth transfers.

Have a look at http://www.php.net/manual/en/function.date.php for a HOWTO

misohoni
Sep 14th 2004, 10:28 am
Thanks I saw Clocklink before, it's too intergrated for my liking. I just wanted the times to be placed on the page seperately.

Thanks for the PHP Coding, although too complex for my eyes...sorry

Help Desk
Sep 14th 2004, 11:31 am
http://www.dynamicdrive.com/dynamicindex6/index.html

It's javascript.

ResaleBroker
Sep 14th 2004, 3:52 pm
Do you mean like this (http://www.istockphoto.com/file_closeup.php?id=170946)?

misohoni
Sep 15th 2004, 11:40 pm
Resale - maybe something like that with a date etc.,

Thinkbling - I tried DD Site (one of my favourites) but doesn't cater for multiple and can't customise time...bit of a pain...

Help Desk
Sep 16th 2004, 5:06 am
You can customize it if you go into the javascript, but it get's trickier than just a one line change.

misohoni
Sep 17th 2004, 1:59 am
yep v tricky to change. Still looking though..