1
brash
Date & Time displayed in realtime?
  • 2003/10/10 12:22

  • brash

  • Friend of XOOPS

  • Posts: 2206

  • Since: 2003/4/10


Hi All,

I was wondering if there is a easy way to print the servers current date & time in real time for inclusion in a titlebar?

2
Mithrandir
Re: Date & Time displayed in realtime?

you mean like a clock going up? Or just a "Time is now: "

If it's the latter, check outhttp://www.php.net/manual/en/ref.datetime.php

3
brash
Re: Date & Time displayed in realtime?
  • 2003/10/10 13:51

  • brash

  • Friend of XOOPS

  • Posts: 2206

  • Since: 2003/4/10


I was actually thinking more of a continously counting clock, but this is a good start. Thanks MithyT2 !

4
ackbarr
Re: Date & Time displayed in realtime?

to make a continously counting clock, you would need to use javascript. There are several scripts available for download. Perhaps this one might help:

http://www.cgiscript.net/cgi-script/csNews/csNews.cgi?database=js_scroll_title_status_bars%2edb&command=viewone&id=51&op=t

5
Big_Bro
Re: Date & Time displayed in realtime?
  • 2003/10/10 16:13

  • Big_Bro

  • Just popping in

  • Posts: 52

  • Since: 2003/2/26


If you are referring to a clock like I have under my banner at www.newshax.com I would be happy to send you that portion of the code as well.

6
brash
Re: Date & Time displayed in realtime?
  • 2003/10/11 4:01

  • brash

  • Friend of XOOPS

  • Posts: 2206

  • Since: 2003/4/10


Thanks for the replies Ackbarr and Big_Bro

Big_Bro, the clock you have on your site is almost exactly what I'm looking for. I'd be very greatful if you could send me the code, thanks

Login

Who's Online

205 user(s) are online (118 user(s) are browsing Support Forums)


Members: 0


Guests: 205


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits