![]() |
At 12:01 PM the clock always shows 12:01 AM. Once it reaches 1:00 PM it goes back to the correct time.
Take a look. Maybe a bug in the code. At 12:01 PM it should read 12:01 PM not AM. |
Can be this hack converted into a plugin?
Thanks |
Not really needed COBRAws.........It's just a template mod, instead of a .php or query's..
|
Quote:
Thursday | October 12, 2006 | 6:33:51 P.M. Thanks also to, Superfly, for sharing, too! Br.:cool: |
Took Hotwheels code and tweaked it to fit my site a bit better...
Thanks for the great idea and thanks to hotwheels for his input. *clicks install* :) |
Love it!
|
installed thanks
|
thanks
|
Pretty cool... ;:=- Thanks
|
Hi,
This is great mod. I'd like to add it but I need to translate the days and am/pm. I tried using $vbphrase['varname'] but that messed things up. What do I do? Thanks |
The code is nothing to do with VB, its all Javascript pulled from the home computers.
|
Installed - Nice lil hack.
|
One side effect of using this clock is that it makes the mouse cursor blink in time with the second counter. Not a major problem, but quite a visible "effect" of the seconds ticking by.
Regards, |
Quote:
|
What exactly do you want them to say?
|
My forum is in Arabic. I would have liked to translate the days and the am/pm into Arabic. Numbers stay the same.
|
i've a question: it's possible to set the date before the month?
|
Quote:
Code:
<!-- clock hack--> |
|
I like, thanks!
|
Very nice! Thanks.
- Marshall |
date before the month is this, not as shown above....
Quote:
|
Damn, that was easy and fast!!! Beautiful!! Thank you very much!!:up: :D
|
Quote:
Quote:
|
works great I just made a minor changes, inserted title and made bold.
if you would like to see Neighborhood Round Table |
Very nice...Installed.
|
Thank You! Very useful! :)
|
Very nice. Installed. Just one question - is it possible to make it use the time zone from whatever the user selects in the UserCP?
|
Hmm. It seems to be working fine, except that, at 46 minutes after midnight, the time reads 00:46:21. What's up with that, and how do I fix it?
Thanks! Joe |
thanks very nice
|
To make it look like this:
Friday July 13, 2007 10:47:23 PM Use this code: <!-- clock hack--> <div id="clock">Loading...</div> <script type="text/javascript"> function refrClock() { var d=new Date(); var s=d.getSeconds(); var m=d.getMinutes(); var h=d.getHours(); var day=d.getDay(); var date=d.getDate(); var month=d.getMonth(); var year=d.getFullYear(); var days=new Array("Sunday","Monday","Tuesday","Wednesday","Thu rsday","Friday","Saturday"); var months=new Array("January","February","March","April","May"," June","July","August","Septemb er","October","November","December"); var AM_PM; if (s<10) {s="0" + s} if (m<10) {m="0" + m} if (h>12) {h-=12;AM_PM = "PM"} else {AM_PM="AM"} if (h<10) {h="0" + h} document.getElementById("clock").innerHTML=days[day] + " " + months[month] + " " + date + "," + " " + year + " " + h + ":" + m + ":" + s + " " + AM_PM; setTimeout("refrClock()",1000); } refrClock(); </script> <!-- / clock hack --> |
Installed!
Nice little addition. For those asking, "Why?", I think it would come in handy if someone is burdened with running Windows and IE when the IE window is maximized and system tray clock can't be seen. No need to make the bar visible just to see the time if it's already in the forum. Plus, if you're looking at the calendar, maybe you need a reminder of the date and time. |
this is the one fro spanish ( mexico )
Quote:
|
Sweet and simple !! GREAT !! :D
Tweaked the look to suit my own tastes : Tues 8-21-2007 [ 4:45:02 PM] moved the day to the front, got rid of the leading zero on the hours and capitalized the PM/AM :) *** clicks INSTALL *** |
Is there any way to make this come from the server time? We run auctions on our site and it would be nice if everyone was looking at the same time for auction end. Thanks!
|
Quote:
Quote:
some solution or advice? byee |
gr8 idea
thx |
|
Nice and great on 3.6.8 PL2 tks Installed
|
hi nice mod..., however is it possible to show an analogue display... a flash or something.. make it look more intresting.. cheers all
|
All times are GMT. The time now is 01:33 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|