tags:

views:

63

answers:

2

Hi

How to create digital clock using PHP (london time zone)

sample clock

Am looking this sort of one clock,

ther is a possible with ajax and php to we display similar of clock and date..

Thing is .it require too much of ajax,java script functions

A: 

Look how to work with timezones: php timezones

netme
+1  A: 

you mean something like this? http://www.ftls.org/en/examples/php/clock_digits.php3#s4.

Saikios
Thanks , i downloaded this...but its basically image support one..i dont like
Bharanikumar
and also this one is static...that is not updating without page refresh....
Bharanikumar
am looking something like this onehttp://www.techiegyan.com/?p=296but in php
Bharanikumar
may I ask why not using the one with jquery? if you need to refresh it the best way wouldn't be only php, it would be with "ajax"
Saikios
at present i used the above one...but looking php also...can u tell me what is the utc_offset for london
Bharanikumar
http://www.timeanddate.com/worldclock/city.html?n=136the second line ;)
Saikios
// plugin defaults $.fn.jclock.defaults = { timeNotation: '24h', am_pm: false, utc: false, fontFamily: '', fontSize: '', foreground: '', background: '', utc_offset: 0 };I tried utc_offset: -1 but am not find any changes....How should i configure for london city...
Bharanikumar
what difference are you watching? one hour?
Saikios
Only my current system time is howing... i want to show the london time...even i tried somthing like "utc_offset":"-18000",
Bharanikumar
sorry for the delay, why don't you try this code is really simple and will do the work ;) http://www.webdeveloper.com/forum/archive/index.php/t-143979.htmllook for kor answer the time for london is ['London',0,60]
Saikios