User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 426,520 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,009 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting
Views: 2583 | Replies: 5
Reply
Join Date: Jan 2005
Posts: 4
Reputation: gurlzlubme is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
gurlzlubme's Avatar
gurlzlubme gurlzlubme is offline Offline
Newbie Poster

How to have two clocks on one php forum?

  #1  
Jan 26th, 2005
Hi. Currently I am running a phpbb forum off of a server, and I was givin a javascript for a simple clock with date.

I would love to learn how I can implement a second one, which reflects the exact time of another location across the world.

i.e. a clock that shows the forum time, and a second one that shows Japan's time.

it doesnt have to be java, but flash is fine too. as long as i can customize the digits and date.
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Aug 2004
Posts: 177
Reputation: YoungCoder is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 2
YoungCoder's Avatar
YoungCoder YoungCoder is offline Offline
Junior Poster

Re: How to have two clocks on one php forum?

  #2  
Jan 27th, 2005
This is the PHP forum so i can give you advice if you wish to use PHP, you could use the time() function:

time()

And then just add or subtract as many hours as there is difference between the timezones
Reply With Quote  
Join Date: Jan 2005
Posts: 4
Reputation: gurlzlubme is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
gurlzlubme's Avatar
gurlzlubme gurlzlubme is offline Offline
Newbie Poster

Re: How to have two clocks on one php forum?

  #3  
Jan 28th, 2005
I'm working with a phpbb forum, and I'm really new at this. So I see the php code, but how exactly do i implement it into my files so that the date and time shows?

there's the php file and then the tpl file which I have to work with...
Reply With Quote  
Join Date: Nov 2003
Location: Toronto, Canada
Posts: 354
Reputation: Gary King will become famous soon enough Gary King will become famous soon enough 
Rep Power: 6
Solved Threads: 5
Colleague
Gary King's Avatar
Gary King Gary King is offline Offline
PHP/vBulletin Guru

Re: How to have two clocks on one php forum?

  #4  
Jan 28th, 2005
If you're using javascript, then this would better belong in a javascript forum, I assume; *moving*
Reply With Quote  
Join Date: Jan 2005
Posts: 4
Reputation: gurlzlubme is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
gurlzlubme's Avatar
gurlzlubme gurlzlubme is offline Offline
Newbie Poster

Re: How to have two clocks on one php forum?

  #5  
Feb 2nd, 2005
whichever works. so any java people out there can help me with this?
Reply With Quote  
Join Date: Feb 2005
Posts: 1
Reputation: [KIGR] Mordrid is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
[KIGR] Mordrid [KIGR] Mordrid is offline Offline
Newbie Poster

Re: How to have two clocks on one php forum?

  #6  
Feb 9th, 2005
I wrote some Script that you might be able to use. It's located on our KIGR clan page at www.kigr.com . Look at the top link on the left side of the page "Members Page and Contacts". I color coded the map to correspond to the lines on the world map. Let me know if it's what you are looking for.

Later,
[KIGR] Mordrid
____________________________________________________________

Originally Posted by gurlzlubme
Hi. Currently I am running a phpbb forum off of a server, and I was givin a javascript for a simple clock with date.

I would love to learn how I can implement a second one, which reflects the exact time of another location across the world.

i.e. a clock that shows the forum time, and a second one that shows Japan's time.

it doesnt have to be java, but flash is fine too. as long as i can customize the digits and date.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb JavaScript / DHTML / AJAX Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the JavaScript / DHTML / AJAX Forum

All times are GMT -4. The time now is 6:17 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC