PDA

View Full Version : Advanced Date And Time


EnIgMa1234
02-14-2007, 10:00 PM
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
02-16-2007, 01:51 AM
XML Error: No error at Line 0

Gizmo5h1t3
02-16-2007, 09:11 AM
XML Error: not well-formed (invalid token) at Line 3

EnIgMa1234
02-16-2007, 01:48 PM
will update in a min

EnIgMa1234
02-16-2007, 02:15 PM
updated

TheBlackPoet
02-17-2007, 03:04 AM
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
02-17-2007, 09:57 AM
why is this in template mods if it requires a product?

rjmjr69
02-17-2007, 11:03 AM
And can you make it in regular time display format instead of a 24 hour clock?

EnIgMa1234
02-17-2007, 03:51 PM
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
02-17-2007, 05:02 PM
Usefull, clicked INSTALL

KK

MThornback
02-17-2007, 11:59 PM
In a future release can this be expanded to use the user's date rather than server time?

Tralala
03-18-2007, 08:06 PM
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.

https://vborg.vbsupport.ru/showpost.php?p=868703&postcount=8

Atakan KOC
03-26-2007, 07:50 AM
Thanks........

EnIgMa1234
03-29-2007, 06:32 PM
no problem :D