Customizing SMF > Tips and Tricks

Live clock in header

<< < (26/33) > >>

ChalkCat:

--- Quote from: Old Fossil on March 24, 2012, 09:44:10 PM ---
Whatever were ya doing on the sofa?

 :-[

--- End quote ---

Watching telly  - until I fell asleep O:)  :laugh:

riou:
Oh as for the st/th I am sure you can do an Array like the day/month and just add like


--- Code: ---var date=new Array();
date[21]="21st";
date[24]="24th";
date[25]="25th";
var whatever = date[d.getDate()];

--- End code ---
etc,etc,etc for each date

ChalkCat:
I have used your code and my clock is now working brilliantly - thank you  :D

Jokerâ„¢:
Apologies for not taking proper care of this topic. I haven't gone through all of the replies, but is anyone else seeking for help related to this topic?

Old Fossil:
Dynamite Joker that's what ya need.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version