-
world time
hi my name is URL removed by admin as requested, recently i reg. a domain with google and now trying design a web page in dreamweaver. in my web i would like to add world clock, i added the codes according to your site advice, but its not updating the time, every time when i am refreshing the page again its starting from 0. i am not an expert, u can chk my designed page i.e URL removed by admin as requested kindly do the need full.
tks jaison
Last edited by ddadmin; 02-04-2008 at 04:05 AM.
-
-
I think it is working now when I refreshed it showed the current time.
-
-
its not workinng yaar (pls chk on the right hand side world clock) its showing the same time when refershing.
-
-
Warning: Please include a link to the DD script in question in your post. See this thread for the proper posting format when asking a question.
-
-
my clock is no working
i choosen codes from dynamicdrive.com i.e. http://www.dynamicdrive.com/dynamicindex6/localtime.htm , the time is not updating, kindly do the needfull my web is URL removed by admin as requested kindly do the need full
jaison
Last edited by ddadmin; 02-04-2008 at 04:05 AM.
-
-
First of all, this script must be on a server with the selected server side language enabled. Your live version appears to work. However NYC is off by one hour, it should be -120 or -240, not -180. I don't know for sure about the other locations, but London appears to be off by 6 hours (360 in one or the other direction, so 420 or -300 instead of 60)
-
-
tks john, even then any time gap it should update right, its not updating when i am refershing again it starting from the same time
-
-
I don't know what you did, but now it's not working at all. If you intend to use server-side PHP, your server must support PHP and the page's extension must be .php not .html
-
-
tks john, i wil write to u in detail, i taken a domain from google and now i am trying to design on dreamweaver, not yet hosted, but i can upload to google page and i can test it. i taken the world time format from dynamicdrive.com. In this do we need to change any thing, i simply copied and pasted, i will tell u one more web page i.e. http://www.figfactsos.com/index.php i need the clock liek that. now i converted into php format. i.e URL removed by admin as requested. in world time tags i modified this tag
var servertimestring=(servermode=="server-php")? '<? print date("F d, Y H:i:s", time())?>' : (servermode=="server-ssi")? '<!--#config timefmt="%B %d, %Y %H:%M:%S"--><!--#echo var="DATE_LOCAL" -->' : '<%= Now() %>'
any modification need , pls tell me
Last edited by ddadmin; 02-04-2008 at 04:06 AM.
-
-
You host doesn't support PHP. If it supports another server side language, use that. Otherwise, you will need to use a completely client side script and be at the mercy of your users having their clocks set right.
Here's one such client side only script:
http://www.arachnoid.com/lutusp/worldclock.html
Last edited by jscheuer1; 01-03-2008 at 05:36 PM.
Reason: add info
-
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
Bookmarks