skip to main content

kiesler.at
You are NOT logged in. ( login | New Account Signup | Forgot Your Password? ) Why log in?
View Topic
Forums > Content Management > phpWebSite > Clock Offset


The ad will go away if you log in.

<< [ 1 ] >>

| NewTopic New Topic | Reply Reply

 

rbrown3rd “Clock Offset” #1
Member[4] 2008-03-17 23:30

I like your clock module but am really confused about how to make it reflect my local time. Any suggestions? I want people to go to http://www.bbbrown.com/ and see my local time. My site is about my solar electric generation so it would make my generation figures correlate with the sun position. Maybe I am misunderstanding the clock module. Thanks for any help.
Quote Quote
rck “Re: Clock Offset” #2
Admin[1999] from Korneuburg 2008-03-18 08:38

Actually, all the clock-module does is

a) take the Servers' current time and
b) display it the way it is

So... Could it be, your server is in a different time zone than you are?
---
200 channels and... nothing but cats.
Quote Quote
rbrown3rd “Re: Clock Offset” #3
Member[4] 2008-03-18 11:17

Yes. My server is 3 time zones away. It would be nice to have an offset feature to allow display of local time. Showing the server time is not that helpful to me. Would jt be difficult to add an offset feature?
Quote Quote
rbrown3rd “Re: Clock Offset” #4
Member[4] 2008-03-18 12:17

I am not a programmer but I just went into clock.php and adjusted the verbalization of the time by changing the numbers for night, morning, noon, etc. . I then uninstalled and boosted the module and now it is showing my local time correctly in the verbalization even though the clock is offset from my local time.
Quote Quote
rck “Re: Clock Offset” #5
Admin[1999] from Korneuburg 2008-03-19 17:08

great, thanks for sharing! By the way, code-changes take effect immediately. No need to boost in again...
---
200 channels and... nothing but cats.
Quote Quote
rbrown3rd “Re: Clock Offset” #6
Member[4] 2008-03-19 17:20

Thanks. I didn't know that. Sure saves me a lot of time when tinkering.
Quote Quote

<< [ 1 ] >>
| Reply Reply |

Forum Menu

please log in for further options.

What's Related

Wiki

phpWebSite

Photo Albums

phpWebSite

Article Manager

phpWebSite

Link Manager

phpWebSite

Documents

phpWebSite

Bulletin Board

phpWebSite

FAQ

phpWebSite

Latest Updates

Free Image Hosting and Li...
created by mikepeterson, 1 week ago (, 86 views)
thread

how to start javascript !...
created by shopperpk, 3 weeks ago (, 143 views)
thread

Hello, new here !
created by shopperpk, 3 weeks ago (, 126 views)
thread

Re: how to run phpwebsite...
created by alexander, 2011-08-25 (2 rpls, 3440 views)
thread