PDA

View Full Version : Advanced Date And Time


EnIgMa1234
15 Feb 2007, 15:34
Dont Copy This Hack
Javascript Code By w3schools.com

Description: Will Add A More Advanced Time And Date. Pretty Simple

1 New Phrase
1 Template Edit

Install:

Find In Footer:
$vbphrase[all_times_are_gmt_x_time_now_is_y]

Replace With:
$vbphrase[fh_date]You Can Use This Phrase Anywhere On Your Site, You Dont Have To Do The Edit

Then: Import The Product

History
- V.1.0 Released
- V1.1 Fixed Product

Future Developments
- None


I Will Only Give Support To Those That Click Install

TheBlackPoet
16 Feb 2007, 02:51
XML Error: No error at Line 0

Gizmo5h1t3
16 Feb 2007, 10:11
XML Error: not well-formed (invalid token) at Line 3

EnIgMa1234
16 Feb 2007, 14:48
will update in a min

EnIgMa1234
16 Feb 2007, 15:15
updated

TheBlackPoet
17 Feb 2007, 04:04
the time shows.... it looks good.. but.... the time is not live.. ie.. the seconds time is not moving... when i refresh.. it updates... so its more like a snapshot time versus... real time...

still, i like it...

yoyoyoyo
17 Feb 2007, 10:57
why is this in template mods if it requires a product?

rjmjr69
17 Feb 2007, 12:03
And can you make it in regular time display format instead of a 24 hour clock?

EnIgMa1234
17 Feb 2007, 16:51
why is this in template mods if it requires a product?

mistake. i though i was in the add on forum when i posted it

killerkraft
17 Feb 2007, 18:02
Usefull, clicked INSTALL

KK

MThornback
18 Feb 2007, 00:59
In a future release can this be expanded to use the user's date rather than server time?

Tralala
18 Mar 2007, 21:06
This "server side" time certainly has a use... it lets the user know the time/date of their last refresh, so they know if they are looking at a cached page or not. Certainly great for use on a mobile skin!



FWIW, the date and time are also available by default anywhere in vb as $datenow and $timenow (formatted as per your vb options). The year is also available as $copyrightyear.

http://www.vbulletin.org/forum/showpost.php?p=868703&postcount=8

Atakan KOC
26 Mar 2007, 08:50
Thanks........

EnIgMa1234
29 Mar 2007, 19:32
no problem :D